Loading midi soundfonts on startup

ZIYAD A. M. AL-BATLY zamb at saudi.net.sa
Sat Jul 9 15:36:07 UTC 2005


On Sat, 2005-07-09 at 09:42 -0500, BBBB wrote:
> Thanks for the reply.
No problem...

> I have been searching for an answer. Timidity did not work with my AC97
> sound system which is built
> into my Motherboard so I disabled it and installed a Soundblaster Live!
> card. The card is working great
> now but I have to load the sound font. I would rather just use the built in
> soundcard with Timidity since I will not be
> using any midi instruments with this computer.
> 
> I put a line in /etc/modules:
> post-install snd-synth-emu10k1 /usr/bin/asfxload /path/to/my/soundfont.SF2
> I also tried it with sfxload.
> 
> If you can tell me where/how to "create the small script" I would be most
> grateful.
> It looks like I am not going to be able to figure this out on my own.
> 
> I have Timidity working on a Fedora Core 2 box and would be happy with that
> also.
> 
> Thanks,
> Bradley
> 
> 
> 
Forget about what I said earlier (about creating a script, it was
overdoing it).  Just create a file "/etc/modprobe.d/soundfont" and put
in it: 
        post-install snd-synth-emu10k1 /usr/bin/asfxload /path/to/my/soundfont.SF2
                     ?????????????????

By the way, where did you get the module name "snd-synth-emu10k1" from?
I didn't find it on my system.  I found a modules named "snd-emux-synth"
and "snd-emu10k1-synth" though.  Could it be that you're using the wrong
module name (spelling error)?


NOT IMPORTANT: And about the "timidity" not working with your built-in
sound device, why?  "timidity" convert the MIDI sequences to pure wave
(using software) and deliver it to the sound device.  You probably have
"esd" or "polypaudio" working in the background and blocking the sound
device, preventing "timidity" from working properly.  All you have to
do, probably, is to direct "timidity" to send it's output to "esd"
instead of directly to the sound device.

Please note that I don't have a "SoundBlaster Live!" and I haven't
worked with such device ever!

I hope that helped you.
Ziyad.




More information about the ubuntu-users mailing list