On Wednesday 30 June 2004 10:53 am, BandiPat wrote:
On Wednesday 30 June 2004 08:18 am, Basil Chupin wrote:
....<snip a lot>............
Thanks Basil,
That helped to actually run down the solution. John was on the right track, but it was simpler than that even. I'll go through the steps for anyone wanting to get soundfonts and midi working. We first noticed a few bugs in /etc/init.d/alsasound file. If you edit that file, search for all instances of "tmidity" and change it to "timidity" as it should be. That doesn't really have anything to do with the soundfonts, but while I was there, no reason not to fix them, right? ;o)
Next, as John Lamb pointed out, copy your sound fonts, from your creative disc or other source, to the /usr/share/sfbank/creative/ directory. Next go to the /etc/sysconfig/sound file and add the soundfonts to the line:
SOUNDFONT_FILES="8MBGMSFX.SF2 4GMGSMT.SF2 2GMGSMT.SF2"
List each soundfont file separated with a space, there is no need to set the path as that is done elsewhere, so only the soundfont names are needed here. Don't overload this as usually these 3 will give you everything you need. Now you can go to a shell as root and issue these commands: /etc/init.d/alsasound stop, then start, to restart it. You can't use "restart" for this, as some things don't work with that. You should have everything working now.
If KMid does not give you audio still, change the midi device to the port 0 rather than "rawmidi" and things should kick off nicely. These midi songs sound much better with all the instruments now, rather than just piano. ;o)
Jumping in on this thread; Have never been able to get midi's to play. Amazing that there are misspelled words in a config file. I have TiMidity installed. Not sure about KMid. Didn't know that it existed. What KDE package is that in? Followed the recommendations above, except that I don't know what file that is to change rawmidi to port O. Some clarification would really be appreciated. Bob S. PS running 8.2 and KDE3.2.3