Timidity won't load voices out of order

View: New views
3 Messages — Rating Filter:   Alert me  

Timidity won't load voices out of order

by metafarion :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
https://lists.sourceforge.net/lists/listinfo/timidity-talk

Re: Timidity won't load voices out of order

by A. Kalten :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 7 Aug 2008 01:46:47 -0400 (EDT)
metafarion@... wrote:

>
> 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
>
>
> 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.
>

How about trying this configuration:

soundfont fluidR3.sf2 order=0
soundfont free_time.sf2 order=0
soundfont conexant_500gm.sf2 order=0

bank 0

0 fluidR3
1 fluidR3
2 free_time
3 conexant_500gm
4 fluidR3
...

AK


-------------------------------------------------------------------------
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@...
https://lists.sourceforge.net/lists/listinfo/timidity-talk

Parent Message unknown Re: Timidity won't load voices out of order

by / ririka_sos / :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello.

What version of timidity are you using?
2.11.x, 2.12.x? 2.13.x or CVS version?

I'm currently using hand build timidity and
timw32g from TiMidityCVS080327, but,
luckly(?), I've not yet met similar situation
like yours.

In my case, timidity.cfg looks like:
--------------------------
dir D:/usr/share/timidity/cfg

# eawplus-12.0
source ../eawplus-12.0/timidity.cfg

# Fluid3.
dir /usr/share/timidity/sndfonts
source fluid3/fluid3gm.cfg
#
source fluid3/fluid3gs.cfg
source fluid3/fluid3atomic.cfg
source fluid3/altassign.cfg
#

# alter.
source timidity-post.cfg
--------------------------

timidity-pos.cfg looks like:
--------------------------
bank 0
 # SGM-180 for pickbass
 34 %font "SGM-180 v1.5.sf2" 0 34 amp=170

 36 ../eawpats12/slapbas1 amp=180

 # FluidR3 piano. (Yamaha?)
 0 %font "FluidR3GM.SF2" 0 0 amp=70
 ### SGM-180 for sitar.
 104 %font "SGM-180 v1.5.sf2" 0 104 amp=130

 # SGM-180 OD guitar.
 29 %font "SGM-180 v1.5.sf2" 0 84 amp=80

 # Titanic200 for viola
 # AAViloin, Faster Attack.
 41 %font "AAViolin.SF2" 0 1 amp=90

 # Titanic200 for cello
 # FluidR3 for cello
 42 %font FluidR3GM.SF2 0 42 amp=180

 ### SGM-180 for clarinet.
 71 %font "SGM-180 v1.5.sf2" 0 71 amp=100

 # eawpat harmonica
 80 harmonca amp=90

 # church organ.
 19 %font FluidR3GM.SF2 0 19 amp=140 pan=0

(snip)
--------------------------

If you're using older one, better try using
new one, may be helpful for you.

May wish be your help.

--
ririka_sos
http://sendai.cool.ne.jp/timidi/
(Sad to say, most content are in Japanese.)

> Date: Thu, 7 Aug 2008 01:46:47 -0400
> From: metafarion@...
> To: timidity-talk@...
> Subject: [timidity-talk] Timidity won't load voices out of order
>
> 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.

_________________________________________________________________
多くのHotmailユーザが使っているのには理由がある。試してみませんか?
http://campaign.live.jp/hmim/top/

-------------------------------------------------------------------------
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@...
https://lists.sourceforge.net/lists/listinfo/timidity-talk