Hi Ben,

 

>Is there a global modulator I can use to do that ?.

No, modulators are only used to change internal voices's parameters (called 
"generators") in realtime after the note is started. The modulator receive MIDI 
CC value

on input and its output changes the generator's value. Exemple of typical 
modulator for ewi is "CC breath-to-attenuation".

 

>So, when I select Trombone, I'd like the soundfont to adjust the incoming 
>notes by -12.

May be this could realized by using a combination of commands send to the 
running FS.

An example of such combination-command could be: "trombone-command":

#send program change (preset trombone) to FS on channel x.

prog x num-preset-trombone

#set rules in the router to transpose any note received  by -12:

#First remove any current rules
router_clear
# Set a rule to transpose pitch by pitch - 12router_begin note
router_par1 0 127 1 -12
router_end
# Set the rules to pass through other messages types (MIDI CC)
router_begin cc
router_end

 

jjc

 
_______________________________________________
fluid-dev mailing list
fluid-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/fluid-dev

Reply via email to