Sustain Pedal
-
I think there is something wrong with my sustain pedal. I have created the simplest Hise test app with just a sine wave generator and a button that indicates if the sustain pedal is on as per this YouTube video:
https://youtu.be/i1xzGD19h2A?si=v6x9NieqUy70yydE
(How to indicate the state of the sustain pedal on your UI) from David Healey.And I do see the button lighting up when I press the pedal, but the sound is not sustained, as soon as I release the key the sound stops regardless the state of the sustain pedal. I have a continuous pedal that sends codes on CC 64 from 0 to 127. Maybe the problem is with supporting continuous pedals?
Any ideas about how can I troubleshoot it?
-
@pirilon The sustain state should switch when sending values > 64, so it should work with continuous pedals. What happens if you print out the controller value in the
onControllerCallback()
?