|
Post by lukesleepwalker on Aug 30, 2018 14:42:55 GMT
Here's what I'd like to do:
Ch1, CC1 = PC 0 Ch1, CC2 = PC 1 Ch1, CC3 = PC 2 Ch1, CC4 = PC 3 Ch1, CC5 = PC 4 Ch2, CC1 = PC 5 Ch 2, CC2 = PC 6 etc Ch5, CC5 = PC 24
What's the most efficient approach in Streambyter?
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Aug 30, 2018 14:56:57 GMT
Hi lukesleepwalker , Something like this: IF MT == B0 # it's a CC IF MC <= 4 # channel is 1 to 5 IF M1 <= 4 # CC is 1 to 5 IF M2 == 7F # CC full on MAT I0 = 5 * MC # calc PC MAT I0 = I0 + M1 SND C0 I0 # send PC END END END ENDRegards, Nic.
|
|
|
Post by lukesleepwalker on Aug 30, 2018 15:14:00 GMT
Thanks for the quick response. That mostly works, Nic. But I'm not getting a PC message generated for the CC5 of each channel. I get PC 1, 6, ... for CC1, I get PC 2, 7 ... for CC2, etc. But I don't get any PCs for CC5.
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Aug 30, 2018 15:31:05 GMT
Try adjusting this line:
IF M1 <= 4
(Change 4 to 5)
Regards, Nic.
|
|
|
Post by lukesleepwalker on Aug 30, 2018 15:47:07 GMT
Works great! Thanks, Nic.
|
|