|
Post by Dchild on Aug 11, 2018 9:17:25 GMT
Hey Nic - Thanks for creating such a nice tool.
Wondering if your amazing skills could crack this,
This in inspired by the app polymer. Think repeating mono note, that’s circles through different midi channels.
This would be epic
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Aug 11, 2018 19:02:11 GMT
IF LOAD # K constants, start + end channel ASS K0 = 0 F # L80 - current channel ASS L80 = K0 END
9X XX 00 = 8X IF MT == 90 # note on, assign channel MAT M0 = MT + L80
# remember channel for note ASS LM1 = L80
# increment/cycle next channel MAT L80 = L80 + 1 IF L80 > K1 ASS L80 = K0 END END IF MT == 80 # note off, get note on's channel MAT M0 = MT + LM1 END
Regards, Nic.
|
|
|
Post by Dchild on Aug 11, 2018 23:36:47 GMT
Woah! Legend.
So if I wanted to cycle through say 3 or 5 channels how would I need to modify the script.
Does the script above cycle through all 16 channels
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Aug 12, 2018 11:02:00 GMT
Yes, it cycles through all 16 channels starting from 1 by default.
So, I have edited the above script so you can customise the start and end channel values.
Near the top is this line:
ASS K0 = 0 F
This sets the start and end channels (default 1 and 16 respectively). If you want different channels then adjust these values (remember they are in hex). Don't try and set an end channel that is less than the start channel!
Regards, Nic.
|
|