|
Post by crony on Aug 8, 2018 9:42:47 GMT
Hello Nic,
I'd like to convert :
F07F7F0601F7 to CC 105 channel 2, velocity 0 and F07F7F0602F7 to CC 105 channel 2 velocity 127
Tried this but fail:
IF M0 == F0 7F 7F 06 01 F7 SND B1 69 00 END
IF M0 == F0 7F 7F 06 02 F7 SND B1 69 7F END
Sorry, trying to figure out, but obviously need some more training...
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Aug 8, 2018 10:19:06 GMT
Hi crony , Yes, you can only compare 4 bytes max at a time in an IF. Try this: IF M0 == F0 7F 7F 06 IF M4 == 01 F7 SND B1 69 00 END IF M4 == 02 F7 SND B1 69 7F END END
Regards, Nic.
|
|
|
Post by crony on Aug 8, 2018 12:25:27 GMT
Works perfect, really love this app, great support.
Maybe an online wysiwyg editor to generate code would be easier for dumbs like me ?
|
|