Last active
April 9, 2020 00:50
-
-
Save hsitz/d9ade9522f4778772ce0ed103e399d24 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 | |
sendmidicc midichannel, 123, 0 | |
endif | |
@END | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment