I’m trying to find a way to split MIDI CC at a certain value.
Use case: I have an expression pedal hooked up via a MIDI a baby that sends midi CC on channel 0 (heel 0 toe 127). I’d like to trigger a Modded EHX Freeze attached to a Suhr MicroMidi . The MicroMidi will turn the freeze on when it gets any CC on channel 1 and turn it off if it gets any CC on channel 3
Essentially what I need to do is filter the CC so that any value under say 30 goes to channel 3 and any value over 30 goes to channel 1.
There isn’t a plug-in that can do this directly, but it seems like it should be simple to combine a few.
I would think I could split the midi input to two CC scale plugins, that go to 2 Event Filter Plug-ins and then finally to two CC map plugins.
For the first path:
- The CC scale plugins could use the CC Start/end to indicate 30-127 and set that to a 10x scale. So all values 30-127 would report 127.
- The event filter plugin could use a custom CC filter to drop CC of 127 (thus only leaving messages with a CC of 0-29)
- CC map could then change all the remaining CC messages to channel 3
The second path would essentially have the inverse. Only allow through messages 30-127 and send them to channel 1
However, this seems to break down at the CC scale plugin. I’m probably misunderstanding the parameters, but it seems to just let through all the normal CC messages.
This image shows the midi in (left), the scale and the output of the scale. At a CC of 50 it should read 127 (50x10 = 500, clamped to 127). However, it reads 50.
Anyone have any idea what I might be doing wrong or can is there a simpler way to do this?