|
Post by redheronmusic on Jul 25, 2022 22:11:25 GMT
I am working a hack with MIDI Designer, using SB to wrap around specific message to the input, allowing advanced control relationships.
To prevent nasty infinite loops, I am filtering so only very specific SysEx messages are allowed to wrap around.
For some reason the four byte not equal test fails, and lets all messages through:
If M00 != F0 00 01 7E
Block
End
Fortunately, the complimentary equal test seems to work properly:
If M00 == F0 00 01 7E # Allow message through if it matches, otherwise block Else Block End
Not equal tests with three bytes seem to work ok.
// EDIT //
After more testing, the problem occurs when the != test gets a three byte message, such as Cc. The missing fourth byte seems to cause the test to always fail.
Workaround is to reverse the logic and use an == test.
|
|