|
Post by reezekeys on Oct 20, 2022 18:15:47 GMT
Hi, I have a short script that, at the end, needs to pass only a single control change (B0 68 XX) and block everything else. This is what I came up with: B0 00-67 = XX +B B0 69-7F = XX +B FE = XX +B CX = XX +B NX = XX +B This works. I didn't finish adding all the event types I might need to block, like channel pressure, clock, sysex, etc. Just wondering if there's a more elegant way to do this, like a single-line command to "block all midi events except B0 68 XX." I did search the documentation - perhaps not thoroughly enough - and came up empty. TIA for any assistance, and as I said this is not any kind of big deal since things are working. I'm only wanting to be as efficient as I can!
|
|
abadam
Developer 
Rotten Apple
Posts: 50
|
Post by abadam on Oct 21, 2022 15:20:05 GMT
if m0 != b0 68 block end
|
|
|
Post by reezekeys on Oct 22, 2022 4:48:45 GMT
Thanks! I started reading the Streambyter U posts in addition to the manual and you just connected the dots for me - much appreciated. My programming experience ended with Basic on the Atari ST sometime in the 1990s so I'm very rusty! This is a fantastic community.
|
|