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

[fluid-dev] Tweaking a sf2 for octave

2021-01-25 Thread Ben Gonzales via fluid-dev
Hi All. This is not really a FluidSynth issue, but maybe someone can help. I have the latest FS running on a headless RPi with a soundfont with many presets. I plug my EWI into the RPi and the program I have made allows me to tweak the transposition and octave via knobs connected to the GPIO