MagicQ MIDI/SMPTE
MagicQ MIDI/SMPTE
MagicQ MIDI/SMPTE
Introduction
The MagicQ console and MagicQ PC software supports the use of MIDI / SMPTE via the MagicQ
MIDI / SMPTE interface.
Note that the only MagicQ support is through the MagicQ MIDI/SMPTE interface. MIDI/SMPTE
directly through PC MIDI interfaces or through the phone (rca) interfaces on the consoles is not
supported.
MIDI Support
MagicQ supports MIDI via the MagicQ MIDI/SMPTE interface. MagicQ can generate and
receive MIDI commands. MIDI is configured in the Setup Window, View Settings view,
MIDI/Timecode tab.
1 of 11 www.chamsys.co.uk
Using MIDI / SMPTE on MagicQ
MIDI Transmit
To transmit a MIDI command, first set the MIDI Out Type in the Setup Window. You can choose
between “None”, “Any chan” and “Requested Chan”. When set to “Requested Chan” the
requested channel is configured in the MIDI Out Chan field.
When set to “Any chan” MagicQ will send out any MIDI commands specified in the Cue Stack
macro field regardless of the channel specified. When set to “Requested Chan” MagicQ will
always change the MIDI commands before transmission to be sent on the requested MIDI channel
MIDI commands are entered in decimal in the Macro field of the Cue Stack Window (page right)
using the ‘N’ macro command. It is possible to over-ride the channel specified in the MIDI
commands using the MIDI Out Channel in the Setup Window.
MIDI note commands are 3 bytes long, consisting of the command (note on / note off) byte,
followed by the note and then the velocity
For example, to send a note for middle C set the macro field to the following:
2 of 11 www.chamsys.co.uk
Using MIDI / SMPTE on MagicQ
MIDI receive
To receive MIDI commands, first set the MIDI In Type in the Setup Window. You can choose
between “None”, “Any chan” and “Requested Chan”. When set to “Requested Chan” the
requested channel is configured in the MIDI IN Chan field.
When using the MagicQ MIDI/SMPTE interface for MIDI only the Timecode options can be set
to none and then the last received MIDI command will be shown in the Status Window.
MagicQ uses a text mapping file, miditable.txt in the MagicQ folder to convert from MIDI
commands to MagicQ serial commands.
An example file miditable.txt is included which maps midi notes to the playbacks PB1 to PB34.
Each line in the file specifies a received MIDI command and then the mapping to the serial
command in inverted comments “”.
144,36"1t"
128,36"1u"
MagicQ checks the received MIDI note byes to see whether they match the values. So if the MIDI
message matches 144 36 then it executes the remote command 1t (Test Playback 1). Similarly if it
matches 128 36 then executes the remote command 1u (UnTest Playback 1).
Note that Test and Untest are like Activate and Release except they force the Playback level to be
100% and 0% respectively.
Note that for security reasons MagicQ limits the number of playbacks that can be controlled using
MIDI and the remote protocols. On MagicQ consoles PB1 to PB34 can be controlled. On
MagicQ PC, playbacks PB1 to PB10 can be controlled.
It is possible to match all 3 MIDI message bytes including the velocity. So for example:
144,36,100”1t”
144,36,101”1u”
This would execute the Test Playback 1 when Note On for note 36 at velocity 100 was received
and Untest Playback 1 when Note On for note 36 at velocity 101 was received.
3 of 11 www.chamsys.co.uk
Using MIDI / SMPTE on MagicQ
To jump within a Cue Stack instead of testing / untesting a Playback just change the remote
command in the inverted comments.
From MagicQ Software version 1.3.6.5 it is also possible to map the note or velocity directly into
the remote command using the %01 for the note and %02 for the velocity.
So the following command would look for Note On, Note 36 and then use the Velocity to jump to
a specific step on the Playback.
144,36”1,%02j”
The %02 is replaced with the velocity received, so that if MagicQ receives
144 36 50
1,50j
144,36"1t"
128,36"1u"
144,38"2t"
128,38"2u"
144,40"3t"
128,40"3u"
144,41"4t"
128,41"4u"
144,43"5t"
128,43"5u"
144,45"6t"
128,45"6u"
144,47"7t"
128,47"7u"
144,48"8t"
128,48"8u"
144,50"9t"
128,50"9u"
144,52"10t"
128,52"10u"
144,53"11t"
128,53"11u"
144,54"12t"
128,54"12u"
144,55"13t"
128,55"13u"
144,56"14"
128,56"14u"
144,57"15t"
128,57"15u"
144,58"16t"
128,58"16u"
144,59"17t"
128,59"17u"
4 of 11 www.chamsys.co.uk
Using MIDI / SMPTE on MagicQ
144,60"18t"
128,60"18u"
144,61"19t"
128,61"19u"
144,62"20t"
128,62"20u"
144,63"21t"
128,63"21u"
144,64"22t"
128,64"22u"
144,65"23t"
128,65"23u"
144,66"24t"
128,66"24u"
144,67"25t"
128,67"25u"
144,68"26t"
128,68"26u"
144,69"27t"
128,69"27u"
144,70"28t"
128,70"28u"
144,71"29t"
128,71"29u"
144,72"30t"
128,72"30u"
144,73"31t"
128,73"31u"
144,74"32t"
128,74"32u"
144,75"33t"
128,75"33u"
144,76"34t"
128,76"34u"
5 of 11 www.chamsys.co.uk
Using MIDI / SMPTE on MagicQ
Remote commands
For the latest list of remote commands check the software change log and the manual.
ChamSys remote protocol consists of simple commands consisting of a list parameter values
separated by commas ‘,’ and ending in a character A to Z (or a to z). Commands can contain
spaces, tabs, and carriage returns; they are all ignored.
4,50I
8,2,5J
1A2A1S2G3,4I
6 of 11 www.chamsys.co.uk
Using MIDI / SMPTE on MagicQ
Remote programming commands enable simple programming actions to be carried out from a
remote terminal. Remote programming commands consist of the program command number
followed by parameters and completed with an “H”.
<40> H Locate
<41> H Lamp on
<42> H Lamp off
<43> H Reset
7 of 11 www.chamsys.co.uk
Using MIDI / SMPTE on MagicQ
MIDI problems
The ChamSys MIDI interface can be easily tested using the test show midilooptest.show. This
show simply runs a 2 step chase on Playback 1 which sends out MIDI commands corresponding to
activation and release of Playback2.
If the loopback test works but connection to external equipment is failing, then try to insert active
splitters or IN/THRU links into the system.
Note that we have experienced some problems with the signal level transmitted from low cost PC
MIDI dongles operating at 3.3V. From July 08 our interfaces have been improved to boost the
signal received from these devices.
8 of 11 www.chamsys.co.uk
Using MIDI / SMPTE on MagicQ
Timecode Support
MagicQ supports both time code receive and time code transmit.
Timecode Receive
MagicQ supports receipt of both linear time code and MIDI time code.
Enable timecode receive in the Timecode In Type field, and choose between SMPTE and MIDI
Timecode.
The time-code type can be set to EBU-25, SMPTE30, NTSC30 and Film 24. When a ChamSys
MIDI/SMPTE module is fitted the Status Window will show the current time-code being received
from the module.
The time-code continue time is the number of frames to continue internal regeneration of the time-
code signal when it is lost. After this time the time-code will be frozen until a signal is received
again.
Time code can be triggered from an external SMPTE time code source using the optional
ChamSys MIDI/SMPTE module, or it can run from the internal time code source. To control a
Cue Stack using external time code set the “External time code” option in the Cue Stack options.
9 of 11 www.chamsys.co.uk
Using MIDI / SMPTE on MagicQ
Cues can be set to time code by changing the Halt field in the Cue Stack window (double click on
it or press SHIFT + ENTER.
When a Cue Stack that contains time code cues is activated the time code takes control of the Cue
Stack and each Cue executes at the time code specified. For Internally generated time code,
activating the Cue Stack starts the time code at 0/0/0. For external time code the time code will be
read from the external module.
Learn Timing
It is possible for the console to learn the timing live. Set the steps in the Cue Stack to time code.
Then release the Cue Stack, and in the Cue Stack window, press SHIFT and RECORD TC. Now
press the GO button for the Cue Stack. MagicQ starts the time code running at 0/0/0 and each
time you press GO it moves to the next Cue whilst recording the current time code into the Wait
fields. At the end of the Cue Stack, press RELEASE to exit the time code record mode.
Time code values can be edited individually and can be set in the format 0/0/0.00. The + and –
operators can be used to add or subtract times to the time code times for one or more cues. This is
useful for changing the absolute times of a Cue Stack whilst maintaining the relative times
between Cues. Use SHIFT and the cursor keys to select multiple times and offset their values
using + or -.
10 of 11 www.chamsys.co.uk
Using MIDI / SMPTE on MagicQ
Timecode transmit
MagicQ can also master time code. In Setup, choose between SMPTE timecode and MIDI
timecode.
There are special macro field commands to enable time code mastering and to set the time code.
W <enable> Enable / disable time code generation (1 for enable, 0 for disable)
Q <time code> Set current time code (also enables time code generation)
Q0,0,10,0
11 of 11 www.chamsys.co.uk