I'm trying to put together a custom (and quite complicated) timidity.cfg,
taking my favorite voices from 7 or 8 different soundfonts and putting
them into one GM sound bank like so:

bank 0
0 %font fluidR3.sf2          0 0      # Acoustic Grand
1 %font fluidR3.sf2          0 1      # Bright Acoustic
2 %font free_time.sf2        0 2      # Honky-tonk
3 %font conexant_500gm.sf2   0 3      # Electric Grand
4 %font fluidR3.sf2          0 4      # Elec. Piano 1

...etc, you get the idea.

When timidity parses the above cfg file, it loads each soundfont in the
order of the instruments that require it, starting with 0 all the way to
127.

The problem I'm running into is that timidity will only load each
soundfont once, and since it's loading numerically in sequence, a
soundfont used for voice 0 and 1 will not be used again for voice 4 if it
is not also used for voice 2 and 3.

In other words, if a midi file uses all five instruments in the above cfg,
timidity will refuse to use fluidR3.sf2 for the voice 4 because it already
stopped loading voices from fluidR3.sf2 after voice 1 and began loading
from the other specified soundfonts.  It will instead use
conexant_500gm.sf2 for voice 4 because that was the last soundfont loaded.

This is frustrating because my instrument choices do not occur neatly in
sequence.  Does anybody have an idea for how I might work around this?



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Timidity-talk mailing list
Timidity-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/timidity-talk

Reply via email to