Chapter 37. Audio

37.1. Audio Input

Audio input can be used in many ways on MagicQ - to bump a Cue Stack from step to step, to set a Cue Stack tempo, to set the virtual level of the playback fader and as part of the MagicQ Pixelmapper.

Audio bump functions can also triggered from the remote input port.

37.1.1. Audio input ports

Audio input can be achieved on both MagicQ consoles and MagicQ PC via a sound card. On PC systems, a ChamSys Wing or Interface (not MagicDMX) is required to enable Audio input functionality.

Audio input is also supported directly on MagicQ consoles and Compact PC Wings via dedicated audio ports. In Setup, View Settings, Ports set Audio Input to "Internal sound card".

MagicQ Pro 2014 consoles require the latest Pro 2014 kernel (dated 4th June 2014) downloadable from the ChamSys download site, Docs page: https://secure.chamsys.co.uk/bugtracker/proj_doc_page.php

MagicQ PC / Mac supports audio input through the PC / Mac sound card when the PC / Mac is connected to a MagicQ Wing or Interface (not MagicDMX). In Setup, View Settings, Ports set Audio Input to "Internal sound card". The required device can be selected in the "Audio input device" setting. MagicQ currently supports stereo devices at 44100Hz.

37.1.2. Audio input options

The audio input signal is analysed in 7 different frequency bands: 63Hz, 160Hz, 400Hz, 1KHz, 2.5KHz, 6.2KHz, 16KHz. The levels for each channel can be used on MagicQ to set the level of Playbacks, to step through cue stacks and to set the speed of chases.

When connected, a graphic equaliser display is shown in the Status Display showing the current levels of the inputs. Audio trigger level should be set to 0.

37.1.3. Global audio settings

In order to use audio input on MagicQ set the setting Setup, View Settings, Ports, Audio, Audio Input. The options are

  • None
  • ChamSys Audio Interface
  • ChamSys Audio Interface - Energy Only
  • ChamSys Audio Interface - Left Only
  • Internal sound card
  • External USB sound card
  • Audio output loopback

On MagicQ PC / Mac systems select "Internal sound card". Audio input is only supported when the PC/Mac is connected to a MagicQ Wing or Interface (not MagicDMX).

On MagicQ Consoles the audio is received via dedicated audio ports on the console. To use these, choose the "Internal sound card" option. MagicQ Pro 2014 consoles require the latest Pro 2014 kernel and the MQ40, MQ60 and original MQ70 require the latest firmware.

When using an external ChamSys USB Audio Interface then choose "ChamSys Audio Interface". When set to "ChamSys Audio Interface - Left Only", any signals received on the left channel are automatically duplicated onto the right channel. This is useful in situations where only a mono audio feed is available. When set to "ChamSys Audio Interface - Energy Only" all 14 received audio bands are combined into one level and all MagicQ audio options will use this one level.

MagicQ supports global minimum and maximum audio levels to enable the levels to be matched to the received audio. Both the Minimum Audio Level and the Maximum Audio Level default to 0 indicating they have no effect.

The minimum is used to adjust for noise whilst the maximum can be set if the audio signal is particularly weak. When set to non zero values any levels below the minimum or above the maximum are ignored and the levels are scaled appropriately.

37.1.4. Cue Stack audio options

In the Cue Stack options there are 4 possible audio modes – Audio Controls fader level, Audio bumps go, Audio sets BPM, Audio jumps Cue Stack. Audio modes are not active until the Cue Stack is activated by raising the fader or pressing the GO button.

Double click on the Audio channel to select the channel to respond to. Audio level, audio parameter 1, and audio parameter 2 should be set to 0.

"Audio Controls fader level" enables the level of the fader to be controlled by the received audio level on the chosen channel. In this way you can control all sorts of different functions depending on how you set the Fader options - HTP, LTP, FX Size, FX Speed etc… For example, you could control the iris opening of a moving light by also setting the Fader controls LTP (IPCB) chans option, or you could control a Master Intensity fader. When using this mode, then Audio P1 and Audio P2 can be set to control the response:

Audio P1 = 0 Normal (direct trigger from level)

Audio P1 = 1 Decayed (decays by Audio P2 each sample)

Audio P1 = 2 Pulse (triggers at Audio Level, Audio P2 is duration of pulse)

Audio P1 = 3 Pulse decay (triggers at Audio Level, decays by Audio P2 each sample)

Audio P1 = 4 Switch (triggers to on/off at Audio Level)

Audio P1 = 5 Slow (increases/decreases by Audio P2 each sample)

"Audio bumps go" causes the Cue Stack to bump to the next step every time a peak in the audio is detected on the specified channel. This enables a Cue Stack to follow the beat of the music. This is best used with the Cue Stack set to Cue Timing instead of Chase Timing. Audio parameter 1 is used as a divider – set it between 2 and 16 to divide the received beat frequency by a value between 2 and 16 times.

"Audio sets BPM" causes a Cue Stack set as a chase to automatically set the chase speed to the timing of the peaks on the specified channel. The Cue Stack should be set to Chase Timing.

"Audio jumps Cue Stack" enables the level of the specified channel to determine which step in the Cue Stack is executed – for example if you have a Cue Stack with 10 steps, then a level of 0% will execute step 1, 10% will execute step 2 whilst a level of 100% will execute step 10. This is very useful if you wish to program different Cues onto LED or media servers.

37.1.5. Pixel Mapper and Audio

The Pixel Mapper Audio FX support comprehensive Pixel Mapping using audio triggering.

37.2. Audio playback

MagicQ supports playback of audio files directly from Cue Stacks. Documentation for this can be found in the Audio in Cue Stacks section.

37.2.1. Audio output ports

Audio output is supported from MagicQ consoles with a dedicated audio output port, and MagicQ PC systems using the internal sound card.

Audio output is also supported via an external USB sound card on supported consoles.

In Setup, View Settings, Ports, the Audio Output option allows you to select between the internal sound card output on a console, or the external USB sound card if connected. On PC systems, the required device can be selected in the "Audio output device" setting. MagicQ currently supports stereo devices at 44100Hz.

37.2.2. MagicQ PC

On Windows, macOS and Linux, you can select the device for both audio input and audio output by using the "Audio input device" and "Audio output device" settings.

Different Audio APIs are supported on each platform. Windows supports MME, DirectSound, WASAPI and KS. Linux supports Alsa, JACK, and OSS. macOS supports Core Audio.

37.3. USB sound cards

Instead of the built-in audio connections on consoles, a USB sound card can be used with the following consoles:

MQ50, MQ70, MQ80*, MQ250M, MQ500, MQ500M.

This can be useful if you need low noise and/or balanced outputs.

If the USB sound card has been plugged in after starting the console, you must do a soft restart of MagicQ for these to be detected (SETUP[SHIFT] + RESET).

To see which interface is currently being used for output and input, go to SETUPVIEW SYSTEMVIEW STATUSInterfaces. The USB sound card should appear in Audio output device and Audio input device options.

The following devices are known to work, however this is not exhaustive:

  • Audient: Evo4 / iD14
  • Behringer: UCA202 / UMC202 / UMC22 / UMC404
  • Creative Labs: Sound Blaster Play! 3 / X-Fi Surround 5.1 / K3+
  • Focusrite: Scarlett 2i4 / Scarlett Solo
  • M-Audio: Fast track Pro / M-Track Solo
  • Mackie: Onyx Artist 1*2
  • Presonus: AudioBox 22VSL / iTwo

When the USB sound card is selected, the respective internal audio port will be disabled. You can use the external USB sound card for audio output whilst using the internal audio port for audio input, and vice versa.

*The MQ80 will also need a Linux Kernel upgrade - follow these steps.

37.4. Control of Winamp

MagicQ supports control of a Winamp instance on the same PC by patching a Winamp personality. The Winamp personality can control track number, play mode, track position, volume, and audio pan.

The PC must have a MagicQ Wing or MagicQ Interface connected to enable Winamp control.

Simply patch one Winamp head anywhere in the patch - MagicQ treats the heads as a special head and ignores the DMX address.

Winamp does not need to be configured - MagicQ automatically connects to it.