Loading midi soundfonts on startup

BBBB ubuntulist at thingbuilder.com
Sat Jul 9 14:42:50 UTC 2005



> On Fri, 2005-07-08 at 12:03 -0500, BBBB wrote:
> > After MANY hours googling and finding bits and pieces of info to make
midi
> > files play on my machine,
> > I finally have KMid working. The only problem is that every time I
reboot, I
> > have to open up a terminal
> > and reload the soundfont (.SF2) file before it will work. I haven't been
> > able to find an answer to this
> > last piece of the puzzle.
> >
> > Is there a way to have the soundfont in place when the computer boots?
> >
> > Thanks for a great list,
> > Bradley
> >
> >
> Yes.  Create a small script that start when you first boot the system.
> (If you don't know where to start, ask again here.  Read below why I
> didn't gave more information.)
>
> But, may I ask you why the need to use "soundfont"?  Why not use
> "timidity"¹ which is easier to configure and use?
>
> Ziyad.
>
> Footnotes
>      1. "timidity" is a *software* MIDI sequencer.  This is a Good Thing
>         (in that it doesn't require any hardware support) and a Bad
>         Thing (in that you'll lose the hardware acceleration in your
>         sound device if it had a MIDI capability).
>
Thanks for the reply.
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






More information about the ubuntu-users mailing list