Midi Input on All Channels

albertas

2014-05-12 14:32:05

Hi!

Is it possible to accept input messages an all 16 channels? Just like different CC values appears as "pp", is it possible to use some "xx" as accept all midi channels?

DvlsAdvct

2014-05-12 16:22:47

Hi Albertas

There are two ways to do this. The easiest way is to replace the first bit of your MIDI string with a local variable like pp, xx, or rr. This will cause the translator to respond to all types of messages (notes on and off, CCs, etc.). This would be useful if you want to listen for a specific note or cc across all channels. For example, pp 01 7F will listen to for message 01 across all channels, whether it is a note on (90), note off (80) or CC (B0)

If you want the translator to respond to all messages across all channels at all velocities then you would replace all three bits of data with local variables. Your incoming message would be pp qq rr, or something similar. This would cause the translator to activate every single time any standard MIDI signal comes in.

If, however, you only want to listen for CC messages, but you want to listen for all CC messages across all channels you need to utilize rules as well to avoid the translator also triggering when notes come in. To do this you would use the same incoming message as above, pp qq rr, but you will need to include rules to only listen for B0 through BF as the first bit (CC message on channels 1-16).

It would look something like:

Code: Select all

if pp<176 then exit rules, skip outgoing action
if pp>191 then exit rules, skip outgoing action
Does that make sense?
J