Created
April 9, 2020 05:37
-
-
Save hsitz/87e817c2260da8a29377f0c60c04af7e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@OnLoad | |
fillarray counter, 0, 20 | |
@END | |
@OnMidiNoteOn | |
inc counter[midichannel] | |
sendmidithru | |
@END | |
@OnMidiNoteOff | |
dec counter[midichannel] | |
if counter[midichannel] = 0 | |
sendmidithru | |
endif | |
@END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment