Flip CC polarity #1046
-
I was wondering if there's any way to flip the polarity of an input. I have a pedal that looks like it's registered to CC 64, but pressing the pedal is 0 and releasing it is 127, making the sound sustain when I'm not holding it. It looks like I might be able to reverse it using router rules, but I haven't been able to find enough information to figure them out. Is there any way to change it without downloading and manually compiling the core DLL with the input inverted? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, the router isn't very well documented, I'm afraid. Assuming you can use the FluidSynth shell (either via telnet, command-line or config file), you can set up the router as follows. The most important thing to understand is that clearing the router (so you can reconfigure it) means that no messages get passed anymore. To restore the default router where all messages are sent unchanged, you need to create a default route for each of the 6 event types:
So after executing these commands, your FluidSynth should act unchanged, all messages pass as they were sent, no messages get dropped. You could also use the If you wanted to complete ignore program change events, you would simply leave out the Now to achieve your goal of reversing a cc, you should be able to use the following rule:
Add this rule above the empty default rule So putting it all together, the following should work:
You can add all this into a text file and load the file using the |
Beta Was this translation helpful? Give feedback.
Hi,
the router isn't very well documented, I'm afraid. Assuming you can use the FluidSynth shell (either via telnet, command-line or config file), you can set up the router as follows.
The most important thing to understand is that clearing the router (so you can reconfigure it) means that no messages get passed anymore. To restore the default router where all messages are sent unchanged, you need to create a default route for each of the 6 event types:
So after executing these commands, your Fl…