I had some more time to look at this challenge and came up with a another idea that might work. It involves a rack I made that does the needed actions. Below I show roughly the same example song as before but you see another rack added called ‘Note Latcher’. The piano is routed without any filters to the main speaker outs and the Strings are routed to the Note Latcher rack and then to the string plugin.
In operation you play normally while the damper pedal is not pressed. When you press the damper pedal down what ever condition the string plugin is in is held. You can continue sounding piano notes (you’d be playing into an open damper because the pedal is still pressed ) over the held notes of the Note Latcher as long as the pedal is pressed. When you release the pedal the notes that were held for the string plugin by the Note Latcher rack are released and do their release envelope. The piano acts independently from all this so it doesn’t cancel any notes on the held string notes here when tested. The CC 64 on message gets out of the rack to the string plugin before the state switches and blocks all MIDI so the plugin keeps waiting for the off which is allowed through as soon as the state changes back when the pedal is released. Like all experiments it might not behave the same for you and has not been tested rigorously yet.
If you want to try it, here you go, just so you know it’s made for a standard damper switch and not a variable half pedaling type.
Note Latcher.cantabileRack (10.6 KB)
For the rack geeks this is how it works … There are 2 rack states Normal and Hold. On the routing tab for each state it is pretty straight forward. The NORMAL state allows the notes and CC data to pass through to the rack unchanged to the string plugin
In state 2 the pass through route is disabled preventing notes from re-sounding to the string plugin. Since all that was done was an interruption of MIDI data flow on that route to the plugin it is held captive by the last commands before the route was cut off.
On the bindings each rack state is manipulated by the damper pedal in a momentary press style of action because of the source using a straight Controller as opposed to a Edge Triggered Switch. So, state 1 is the unpressed condition of the damper pedal and synchronizes with the enabled pass through route.
when you press the damper down the first binding above calls the second binding that is synchronized with the blocked route condition. When you release the pedal the binding fires and calls state 1 back up for some more notes to happen.
So when I start out playing state 1 remains in effect till I press the pedal down and it instantly goes to state 2 where it remains until I release the pedal and it instantly goes back to state 1 and allows notes and data to get to the plugin again.
So. it’s not really a note latcher rack as much as a conditional route inhibitor I just liked the name better … geeking complete