Re: [fluid-dev] Tweaking a sf2 for octave

2021-01-26 Thread Ceresa Jean-Jacques
Some fix to my previous message:   #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 - 12 router_begin n

Re: [fluid-dev] Tweaking a sf2 for octave

2021-01-26 Thread Ceresa Jean-Jacques
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

Re: [fluid-dev] Tweaking a sf2 for octave

2021-01-26 Thread Marcus Weseloh
Hi Ben, I don't think there is such a modulator or mechanism in the Soundfont spec. I've solved a similar problem in the past by adding this information in the comment field of the Soundfont file. For example something like this: (Format: ::) 0:0:-12 0:5:12 1:72:-24 Then upon loading of the sound