Was having this problem yesterday while trying to hook up my midi controller and sustain pedal. Thank you so much for writing this! It is incredibly helpful to me!
* Script now responds to sustain pedals that output continuous values (such as expression pedals) rather than just on/off. Previously the script only responded to CC values 0 and 127. Now any value less than 64 is counted as an off/pedal up, and any value 64 or greater is counted as a on/pedal down. (Thanks to Alfred_Rademakers for the bug report).
Was having this problem yesterday while trying to hook up my midi controller and sustain pedal. Thank you so much for writing this! It is incredibly helpful to me!
It works beautifully! Thanks again. Very excited about this
Version 1.1
* Added MIT Licensing information.
Version 1.2
* Script should now work correctly with those controllers that send a note on with zero velocity message instead of a note off.
Thanks so much for your hard work!
Version 1.4
* Script now responds to sustain pedals that output continuous values (such as expression pedals) rather than just on/off. Previously the script only responded to CC values 0 and 127. Now any value less than 64 is counted as an off/pedal up, and any value 64 or greater is counted as a on/pedal down. (Thanks to Alfred_Rademakers for the bug report).