Contents

MIDI EngineSuite

Last updated 16 Nov 2026 · App version 1.0.1

The MIDI Engine makes the Live Set drive external hardware. Write the change you want in a clip name, such as vl3: preset 12, and when the playhead reaches the clip, the message goes out to the device.

It opens in its own window (Tools → MIDI/OSC in the sidebar, or from the tray), which holds both engines, switched by the MIDI ENGINE and OSC ENGINE tabs at the top. The MIDI side has four tabs: DEVICES, INPUT MAP, GLOBAL TEST and LIVE LOG.

16.1 The signal path#

Clip nameLatch StageLive control surfaceHardwarevl3: preset 12in the clip namematch the tagbuild the messageMIDI EngineLatch Stage Port AOutput → MIDI interfaceset in Live’s MIDI settingsVoiceLive 3external deviceMIDIwith no Output assigned nothing leaves, and no error is shown
Every stage is verifiable: GLOBAL TEST covers the first two, TEST ON HARDWARE covers the last.

The message leaves through Ableton Live. Each virtual port must be enabled as a control surface with an Output assigned (see §4.2).

16.2 DEVICES — registering hardware#

A device being configured: tags, port, channel and the two delays.
A device being configured: tags, port, channel and the two delays.

+ ADD DEVICE creates a device:

FieldMeaning
Device NameThe name in the library, e.g. TC VoiceLive 3
Clip Prefix / TagsThe words that address this device in a clip name. vl3, voicelive means both vl3: … and voicelive: … reach it
MIDI PortWhich virtual port the device is on
MIDI ChannelThe device’s channel, 1 to 16
Pre-Fire Delay (ms)Sends the message this many milliseconds early, so hardware that is slow to change a preset is ready on the beat. See below
Multi-Cmd Delay (ms)The gap between consecutive commands sent to the same device, counted from the last message of the previous one. For hardware that needs time to settle — a synth still loading a performance ignores what arrives too early. Default 250 ms

How Pre-Fire works. Latch Stage anticipates the message in whichever way the situation allows:

  • In Session View, the moment the clip is queued Latch Stage works out how long is left until the launch quantisation point (from the current beat and the global Quantize value) and sends the message that many milliseconds early. If the clip is fired with less than Pre-Fire to go, it goes out immediately.
  • In the Arrangement, the clip ahead of the playhead is converted from milliseconds into beats at the current tempo, and it is read that far before the playhead reaches it.
  • Inside one clip name, Pre-Fire is subtracted from any > delay (§16.4), never below zero.
  • With several devices in one clip, the device in the first section decides: the whole clip goes out early by that device’s Pre-Fire, and the other devices go with it, whatever their own Pre-Fire. A clip whose first section starts with > is not sent early. On a track dedicated to one device, that device’s Pre-Fire is used.

A device with Pre-Fire at 0 is simply handled when the clip starts playing.

IMPORT and EXPORT move the whole library between machines as one file, the practical way to carry a rig to another computer or share it with a colleague.

The application ships with worked templates for TC VoiceLive 3, Yamaha Montage, Novation Ultranova and Korg Minilogue, usable as they are or as a starting point.

16.3 Device commands — the Basic form#

The command editor on Program Change, with the clip syntax preview below.
The command editor on Program Change, with the clip syntax preview below.

+ NEW COMMAND opens the editor. A command is defined without writing any code:

FieldMeaning
Command NameFor the operator, e.g. Preset Change
Description / NotesOptional
Trigger Word in ClipThe word that fires this command: preset, reverb, vol
MIDI ChannelThe device channel, or one specific to this command
Message TypeOne of the fifteen below

Message types

  • Control Change (CC) — Toggle. A CC number, a value for on and a value for off. The clip says reverb on or reverb off.
  • Control Change (CC) — Value. A CC number and a value, fixed or taken from the clip. With Dynamic, vol 80 sends 80.
  • Program Change (PC). A program number, fixed or from the clip. Numbering Base chooses whether the device counts presets from 1 or from 0. A wrong setting here is the commonest cause of being one preset off. Bank Select MSB/LSB can be included.
  • Control Change — 14-bit. A CC from 0 to 31 sent as MSB, with CC+32 as LSB, for the 0–16383 resolution some synths expect.
  • Note On / Off. A note number, a velocity and a duration. Duration 0 sends Note On only; any other value sends the Note Off after that time.
  • NRPN and RPN. Two separate types. Each takes a parameter number from 0 to 16383 and its value, 7-bit or 14-bit. The CC sequence is built for you.
  • Pitch Bend. The clip value is the bend in percent, from −100 to 100, with 0 at centre.
  • Channel Aftertouch. Channel pressure, 0 to 127.
  • System Exclusive (SysEx). A hexadecimal template starting F0 and ending F7. {val1} and {val2} insert values read from the clip; {val1-1} inserts the value minus one, for devices whose manual counts from 1. {val} and {val-1} are the same as {val1} and {val1-1}, {val2-1} works the same way, and {msb} / {lsb} split the first value into two 7-bit bytes. Values are held between 0 and 127, and a missing F0 or F7 is added.
  • Master Volume. The Universal SysEx master volume, 0 to 127.
  • Song Select. Selects a song on drum machines and backing-track players.
  • Transport — Start / Stop / Continue. System Real Time, with no MIDI channel.
  • MMC — Recorder Transport. Play, Deferred Play, Stop, Pause, Record (Strobe), Record Exit, Fast Forward and Rewind for recorders, with the device ID (127 means all devices).
  • Panic — All Notes Off. Sends All Notes Off, All Sound Off and Reset All Controllers on the device’s channel. For the stuck note in the middle of a show.

16.4 The clip syntax#

The editor shows a live ABLETON CLIP SYNTAX preview: the exact text to type in Live, plus the hardware target it will reach. COPY CUE copies it for pasting into a clip name.

The general form:

tag: trigger value

On a track dedicated to one device (§16.7) every clip name is examined, so preset 12 works there. On any other Midi Scripts track, a clip name is only examined at all if it contains a :, |, ; or >; any other clip name is ordinary naming and is ignored by the engine.

Separating devices and commands. A strict syntax hierarchy governs clip names:

  • Different devices are separated strictly by | or ; (e.g. vl3: preset 12 | montage: vol 80).
  • Multiple commands for the same device can be separated by spaces or by commas , (e.g. vl3: preset 12, reverb on or m: 1 2 3 s2).
  • A semicolon ; is strictly a device delimiter and is never used to separate commands intended for the same device.
vl3: preset 12, reverb on | montage: vol 80 ; vl3: harmony on

The order you write is the order that is sent. When one clip triggers several commands of the same device, they go out in the order their words appear in the name. m: 1 2 3 s2 changes the preset first and the scene after it. This matters when the device needs time to load what was asked before it accepts the next thing.

Spacing the messages: the > character. Each > inside a section adds one beat of delay, and the count carries forward through the rest of the clip:

vl3: preset 12 | > montage: vol 80 | > vl3: reverb on

The first message goes out at once, the second one beat later, the third two beats later, because the single > of the second section is still counted when the third is reached. The delay is musical, not fixed: one beat is 60000 / BPM milliseconds at Live’s current tempo, so the spacing follows a tempo change. The > may sit anywhere inside its section; they are simply counted.

A section without any > is not simultaneous. It is chained to go out 50 ms after the previous device has finished sending, so two devices sharing a clip never collide on the wire. Only the first section starts at zero.

Two further delays shape the result: a device’s Pre-Fire Delay is subtracted from a > delay (never below zero), and its Multi-Cmd Delay spaces that same device’s consecutive commands.

16.5 The Advanced Script engine#

The Advanced Script window, with the COPY AI PROMPT button.
The Advanced Script window, with the COPY AI PROMPT button.

Where the Basic form is not enough (a calculated checksum, a conditional sequence, an unusual message), a command can run a script instead.

ADVANCED SCRIPT… opens the editor. You write the body of the routine only; the surrounding structure is supplied. Two values are available:

  • part: the text that came from the clip, so the script can read what was asked.
  • midi_op: the sending interface. send(...) to the device’s own port, send_to(port, ...) to another, wait(ms) and wait_beats(n) to space messages out.

Scripts run in a restricted sandbox. Only import re and import math are allowed, and there are no while loops (use for), no file, network or system access, no global, no str.format or format_map (use f-strings), no __ in attribute names or strings, and no ** or << with a large operand. A script that breaks a rule does not run: TEST ON HARDWARE and GLOBAL TEST show SCRIPT ERROR with Blocked: and the reason, and during the show the same line goes to the log file (§23). print(...) output appears in those logs as LOG lines.

COPY AI PROMPT copies a prepared briefing for an AI assistant. Paste it into ChatGPT, Claude or Gemini, describe what the device needs to receive, and paste the produced script body back into the editor. This is the intended route for operators who do not write code.

A command running a script shows a SCRIPT ACTIVE banner. USE BASIC FORM returns it to the no-code fields.

16.6 Testing before the show#

The GLOBAL TEST router log after processing a clip name with several devices.
The GLOBAL TEST router log after processing a clip name with several devices.
  • TEST ON HARDWARE, in the command editor: type a parameter (on, 12, 64) and send it to the real device. The console reports exactly what went out.
  • GLOBAL TEST tab: type a complete clip name and PROCESS CLIP. The router log lists, line by line, the time, the device, the message and the description of everything that name produces, including Tag not found when a prefix matches no device. This is how a whole show’s clip names are verified at the desk instead of on stage. It is not a dry run: every message listed is also sent to the device, so run it only when the hardware may change.
  • LIVE LOG tab: everything the engine sends to hardware, as it happens (clip commands, tests and the simulator), and every incoming message that fires an Input Map mapping, marked OUT or IN, newest on top; the last 200 are kept. Each line shows the time, which device and command produced it, the port and the bytes. Like the OSC log (§17.5), it shows at most forty lines a second in each direction, then more messages hidden (rate limit); the messages themselves are still sent. A red line means the message did not leave: the commonest cause is the virtual port not being enabled as a Control Surface in Live (§4.2). While Pause is ticked no new lines are added, so you can read; messages sent meanwhile are still sent but never appear in the list.

16.7 Which tracks are read — the Midi Scripts tracks#

The MIDI Engine reads clips from one kind of track only, recognised by its name:

Latch Stage - Midi Scripts

Capitals do not matter, a leading track number is tolerated (12 - Latch Stage - Midi Scripts), and the slip Lacth is forgiven when written Lacth or LACTH (not lacth). A clip on any other track is never read, however it is named. That stops a clip called reverb on an audio track from firing hardware by accident. There can be as many Midi Scripts tracks as the show needs.

Environment qualifiers (Session or Arrangement). By default, a Midi Scripts track monitors both Session View clip slots and the Arrangement timeline. You can restrict a track to read clips from only one view by adding an environment qualifier in parentheses or square brackets:

  • Latch Stage - Midi Scripts (Session) or [Session]: reads clips exclusively from Session View clip slots.
  • Latch Stage - Midi Scripts (Arrangement) or [Arrangement]: reads clips exclusively from the Arrangement timeline.

A track dedicated to one device. Add the device’s name after a |:

Latch Stage - Midi Scripts|VoiceLive 3

You can combine a dedicated device with an environment qualifier (the qualifier can appear before or after the |):

Latch Stage - Midi Scripts (Session)|VoiceLive 3
Latch Stage - Midi Scripts (Arrangement)|VoiceLive 3

On a dedicated track the device is already known, so the clip needs no tag: preset 12 instead of vl3: preset 12. A tag belonging to that same device is still accepted; a tag belonging to another device is ignored on this track to prevent cross-firing. The name after the | must match a device name, ID or tag in the library exactly, capitals aside. GLOBAL TEST cannot check this name: it reads a clip name as if it sat on a Midi Scripts track with no device. If nothing matches, no clip on the track fires, and the only trace is a line in the log file (§23) when the clip plays: Dedicated device '…' not found in library. Check a dedicated track’s name against the library by hand before the show.

The SETTINGS tab is gone. Earlier versions had a tab where you ticked the tracks to be watched. Tracks are now chosen by name alone. A Set built on the old ticks needs its MIDI command tracks renamed to Latch Stage - Midi Scripts, or nothing on them will fire.

A clip whose Clip Activator is switched off in Live is not read either (§9.5).

16.8 INPUT MAP — physical controllers driving Latch Stage#

A mapping being made with LEARN active, and the action preview.
A mapping being made with LEARN active, and the action preview.

The other direction: a footswitch, a pad controller or a fader bank controlling Latch Stage.

Connecting the controller happens in Live, not here. Set the controller as the Input of the Latch Stage control surface row (§4.1). That setting is the whole connection: the application opens no MIDI port of its own, and the Input Map screen repeats the reminder.

A controller in this list is a group, not a port. Live hands the script every incoming message mixed together, with no record of which physical device sent it. The controllers you add here (+ ADD CONTROLLER, a name and an enable switch) are a way to organise mappings and to switch a whole set of them off at once. They cannot tell two devices apart, and this is why two mappings may never share the same input (below).

Creating a mapping

  1. ● LEARN. Press the button or move the knob, and type, channel and number are filled in. Learn only listens while a mapping is open in the editor, so it can never overwrite a mapping you were not editing.
  2. Action. What to execute, chosen by category (table below). The mapping takes the action’s name unless you type another.
  3. Behavior. How the input is read:
BehaviorForWhat happens
Momentary button (press/release)Buttons and pedalsFires on the press
Latching button (alternates on/off)Buttons that stay downFires on each change of state
Range (0–127 → value)Faders and knobsThe incoming value becomes the action’s value

Volume, pan and send actions offer Range only. The CC Value actions (below) offer Trigger (any value), Momentary (hold) and Range (0–127 → value): with a CC input all three pass the incoming value on every message; with a note input, Trigger and Momentary fire on the press only, and Range fires on the release too, with value 0 (the first target). All other actions offer the two button forms.

Numbers are counted the way the screen counts them. Scene 1, track 1, return 1 and Send A are the first ones: you type 1, not 0.

CC Value actions let the incoming value choose the target: one fader or one knob walks through the pads, songs, scenes or tracks. Here the count starts at 0: value 0 is the first. Mind the controller: a button that sends 0 when released will fire the first target on every release.

CategoryActions
Transport (global)Play · Stop · Play / Stop (One Button) · Metronome On/Off · BPM +1 · BPM −1 · Cycle Global Quantize · TC Track On/Off
Navigation (global)Jump Prev · Prev · Next · Jump Next · Mixer Prev · Mixer Next
Song ViewFire Song Pad (by position) · Fire Song Pad (CC Value 0 = Pad 1)
Sections ViewAuto Next On/Off · Tap End On/Off · Play Song (CC Value) · Mute Song (CC Value) · Loop Current Section (On/Off) · Mute Next Section (Skip next)
Session ViewScene Launch by Number · Scene Launch (CC Value) · Fire Clip · Stop Clips in Track · Stop Clips in Track (CC Value) · Stop All Clips
Mixer ViewTrack Mute · Track Solo · Track Arm — each by track number or by CC Value · Set Track Volume · Set Track Pan · Set Master Volume · Set Master Pan · Set Cue / Headphone Volume · Set Return Volume · Set Return Pan · Set Send Volume
Views (switch screen)Go to Songs View · Go to Sections View · Go to Session View · Go to Mixer View

Transport and Navigation work in any view. The navigation actions are the transport-bar buttons by name, with the same behaviour as on screen (§10.3), including the double press of Mixer Prev and Mixer Next (§14).

Three actions behave in ways worth knowing:

  • Fire Song Pad (by position) counts pads on screen: position 1 is the first pad shown in the setlist’s current order, with muted songs left out. After the Sections View reorders the show, position 1 follows the new order, so the SONG N label on a pad may not be the number you mapped.
  • Go to … View switches the view on every screen that is open, not only the one that made the mapping.
  • Play Song and Mute Song act on the list in the Sections View, in its current order. Mute Song counts every song; Play Song, like Fire Song Pad, leaves muted songs out. With muted songs in the list, the same value can point the two at different songs.

Conflicts. Two mappings cannot use the same input: the controller would match both and fire both. When a new input collides with an existing one, a dialog asks what to do. Keeping the new one leaves the other mapping in place with its name and action but no input. It is listed as NO INPUT until you give it one. Mappings in two different controllers conflict only when both controllers are enabled; inside one controller, two mappings may never share an input, even while it is switched off. Switching a controller on runs the same check against the enabled ones.

A preview line describes the finished mapping in plain language before it is saved. Maps export and import as a file, like the device library.


Free trialBUY30% OFF