[Updated for QLab 4.1 13 JUL 17]
This workspace allows searching of data not included in the normal QLab3 find command. The example is intended to be used when QLab is controlling external equipment, LX board, mixers, external effects, etc and you want to stop sending MIDI to just one of these devices. For instance, you might want all your MIDI-controlled audio equipment to continue working, but stop sending cues to the LX board.
If you want to stop all external MIDI data from QLab (or to QLab) there is a handy window, which a lot of people don’t seem to be aware of, in the windows menu. It’s called MIDI/OSC Override, and for Master control, it’s just what’s needed.
In QLab 4 it looks like this:
In QLab 3 It looks like this:
But for our purposes, what we need to do is find all cues that are sending to a specific device on a specific MIDI channel, and disarm them, when, for example, we want to disable MIDI going to the lighting board, and arm them again when we want to resume control.
Here it is in action:
How it Works:
A cue containing a variation of the following script is triggered by a hotkey.
The first thing to note is that the variables are set inside the tell block. It is often better for these to go above the tell block, however in this case they can’t. This is because in QLab 3 properties such as message type and command are set to constants, and these constants are only recognized within the QLab tell application block.
The variables are set to the required values, and then all the cues that match the values required by the set found cues statement are found. In this example, we are looking for ‘note on’ MIDI cues, (whose message type is voice), being sent to patch 3, on MIDI channel 15. Some of the variables listed are only required for certain types of cues. The variables that are used are those found in the statement that begins set found cues to……..
In the script example above we are looking for voice cues, so the DeviceID is not relevant and is not included in the set found cues statement. Here is a script where we are looking for MSC cues. Here the Midi channel and the command are not relevant, but the DeviceID is and this is reflected in the statement that begins, set found cues to…
Every found cue has its armed property set. In the DISARM scripts above, the armed of each cue is set to false. In a script that ARMs found cues, the armed of each cue would be set to true.
You can download the example workspace here
Chapter Author: Mic Pool