|
From: | Joe Dery |
Subject: | [fluid-dev] preset change via midi CC 72 |
Date: | Thu, 16 Dec 2021 15:29:08 -0500 |
fluidsynth -si -p "fluid" -C0 -R0 -r48000 -c2 -z1024 -d -f inst/default -a alsa -m alsa_seq &
(followed by some `aconnect` commands to hook in the controller)event_pre_cc 0 72 6
event_post_cc 0 72 6
event_pre_cc 0 72 7
event_post_cc 0 72 7
so, MIDI CC ID 72, value 6->7
I thought maybe by using the 'router' to assign this to CC 0, typically 'bank select'. But I haven't seen this work to change the preset. Am I thinking of it wrong? Thanks ahead for the advice!
PS:
'inst/default' file content
echo "setting gain"
gain 3
echo "router cc begin"
router_clear
router_begin cc
router_chan 72 72 0 0
router_end
echo "router cc done"
echo "loading soundfont"
load "/home/pi/sf2/Essential Keys-sforzando-v9.6.sf2"
echo "loaded"
[Prev in Thread] | Current Thread | [Next in Thread] |