fluid-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fluid-dev] question - soundfont editing


From: David McNab
Subject: Re: [fluid-dev] question - soundfont editing
Date: Fri, 28 May 2004 16:08:01 +1200
User-agent: Mozilla Thunderbird 0.6 (X11/20040502)

Hi Tim,

Sorry to bother you again, but there's a slight problem with your SF2 python module.

If the soundfont file I write out contains one or more drum presets, 'asfxload' spits an error 'loop size is too short: 0' when I try to load the font into my sblive card. However, fluidsynth loads it in fine.

Any ideas?

Cheers
David



Tim Goetze wrote:
[David McNab]


Can someone please recommend a program for Linux which can easily take
presets from one or more existing soundfont files, and compile them into
a new soundfont file?


with about 10 lines of python (plus a few to name the presets you're
after) you can do such tricks with this little helper here:
http://quitte.de/file-formats/SF2.py

at the end of the file it shows how to extract one preset into a
separate .sf2; modification for many presets/sf2 files should be
straightforward.

cheers,

tim





reply via email to

[Prev in Thread] Current Thread [Next in Thread]