|Subject:||Re: [fluid-dev] Tweaking a sf2 for octave|
|Date:||Tue, 26 Jan 2021 19:02:16 +0100 (CET)|
>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
# Set a rule to transpose pitch by pitch - 12router_begin note
router_par1 0 127 1 -12
# Set the rules to pass through other messages types (MIDI CC)
|[Prev in Thread]||Current Thread||[Next in Thread]|