Sustain CC selector
-
I want to allow the user to choose which CC is used for the sustain pedal, (in case they don't have/want a hardware controller linked to CC64).
I thought about adding a button on the UI that sends out CC 64 when enabled, but it seems if CC64 is assigned to a control via MIDI learn, the sustain functionality is bypassed entirely.
How can I have both CC64 through MIDI learn and keep the sustain function?
-
Does this help?
This will keep processing MIDI messages even if they are automated.
-
@Christoph-Hart That did it, thanks!
-
-
-
Actually there is still a problem with this. If the user wants to use a CC other than 64 there doesn't seem to be a way to tell this to HISE. Using
Synth.sendController(64, value);
doesn't create the sustain effect.Poking around in the HISE source I noticed there is some code for the CustomSettings floating tile related to "SustainCC" but it doesn't look like it's been implemented.
-
-
Ah ignore me, it does seem to work. I made a mistake and forgot to use the automation handler in my test.
-