Created
March 20, 2018 02:14
-
-
Save moutend/09c2475bd6caa02c4f5e5948cb2b9d71 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
desc:MIDI easy chord | |
//tags: MIDI processing | |
slider1:1<-16,16,0.1>Velocity Multiply | |
in_pin:none | |
out_pin:none | |
@init | |
@slider | |
@block | |
while (midirecv(offset,msg1,msg2,msg3)) ( | |
msg1 == $x90 || msg1 == $x80 ? ( | |
midisend(offset,msg1,msg2,msg3); | |
midisend(offset,msg1,msg2+4,msg3); | |
midisend(offset,msg1,msg2+7,msg3); | |
) : ( | |
midisend(offset,msg1,msg2,msg3); | |
); | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment