|
Post by jeezs on Oct 27, 2018 16:26:28 GMT
Hi Nic,
I want to change the behaviors of my midi controller to force a latch mode from it.
I try to catch notes on and bypass note off message then if the same key is pressed again then it send note off event.
Thanks
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Oct 27, 2018 16:36:06 GMT
Hi jeezs , Try this (for channel 1 notes) IF LOAD ASS L0 = 0 END
# block all note offs 90 XX 00 = 8X 80 = XX +B
IF MT == 90 # get current toggle state ASS I0 = LM1
# toggle is off IF I0 == 0 ASS LM1 = 1 # switch toggle on END
# toggle is on IF I0 == 1 # rewrite to note off MAT M0 = M0 - 10 ASS LM1 = 0 # switch toggle off END ENDRegards, Nic.
|
|
|
Post by jeezs on Oct 28, 2018 8:05:24 GMT
Hi Nic, This is perfect. I can finally loop sample in BeatMaker !!!! Thanks a lot for your precious help
Cheers
Jean-Eric
|
|