Filter (Exclude) All Channels on Virtual BMT Port Except for Channel 5

Hello,

I am wondering if you could help me make a translator that can filter all MIDI channels except 5 coming into and going out of a Bome native virtual port. This goes for any kind of message over MIDI channels, including Notes, CCs, and PCs. Thanks!

Sure, see the below. It is all handled in the second preset (preset1)

We look all 3 byte messages and mask the lower nibble of the command byte. If it is not 4 (MIDI CH 5) then we don’t let it pass. If it is the outgoing message is sent. We use raw bytes so it handles Pitch Bend, CC, and Notes.

rr=oo&15
if rr!=4 then exit rules, skip Outgoing Action

Then we do the same with 2 byte messages in the 2nd translator (to handle Program Changes)

Finally since one byte messages do not have a MIDI channel, we just pass everything through in the 3rd translator.

Filter-all-but-MIDI-CH5.bmtp (1.6 KB)

Steve Caldwell
Bome Customer Care


Also available for paid consulting services: bome@sniz.biz
1 Like

Thanks so much!

1 Like