|
Post by klay2000 on Sept 16, 2020 10:55:26 GMT
Hi
If I need to write the decimal version of cc50 and not have to convert to hex... how do I write this in stream byter?
For example if I want to convert cc50 to cc80 on midi channel 7 and only use decimal in stream byter. How would this be coded
Thanks
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Sept 16, 2020 16:40:55 GMT
Hi klay2000 , You can use decimals by prefixing them with a $, for example $50 means decimal 50: if M0 == B0 $50 send B1 $50 $127 endHowever, this notation can only be used in the new StreamByter rules. The older 'pattern matching' rules (the ones like BX 32 = XX 33 +C) still require hex. Hex for 50 is 32 BTW. Regards, Nic.
|
|
|
Post by klay2000 on Oct 13, 2020 20:54:39 GMT
Thanks Nic
|
|