I want to change the volume in Fluidsynth using a midi controller. By default Fluidsynth expects to get the volume by a CC7 event but I want it to change the volume on a CC24.
I think the router directive router_par1 is what I need but I cannot make it work.
I started Fluidssynth in server mode without shell
Code: Select all
> fluidsynth -s -i -a jack -m jack -g 2 fluidsynth/custom.sf2 -o synth.polyphony=1
Code: Select all
> nc localhost 9800
router_begin cc
router_par1 7 7 1 17
router_end
From what I found on the web my command should simply add 17 the CC7 event transforming it to a CC24.
Also the other way around does not change anything:
Code: Select all
router_begin cc
router_par1 24 24 1 -17
router_end