Flex Macros
Timeline based automation with frame accurate timing and timecode sync.
Overview
Flex Macros is a timeline based macro system for sequencing commands with precise timing. Each macro contains multiple parallel tracks with clips that define when and how commands execute. It supports variable playback speeds (25% to 400%), interpolation curves for smooth transitions, loop mode, and external timecode synchronisation for frame accurate broadcast automation.
Think of it as a DAW (digital audio workstation) for show control. Instead of audio clips, you place command clips on a timeline. When the playhead reaches a clip, the assigned commands execute. Linear clips interpolate smoothly between values over their duration - perfect for automated fader moves, camera transitions, and lighting fades.
The Macro Manager
Setting up Flex Macros:
- Add a 'Flex Macros' device from the Add Device browser (Category: Production Tool). Enable it.
- Click the device's custom UI button to open the Macro Manager.
- The manager shows a scrollable list of macros. Each macro card shows its name, a timeline preview thumbnail, and transport controls.

Creating a new macro:
- Click 'New Macro' at the top of the manager.
- A dialog titled 'Macro Name' appears. Enter a descriptive name (e.g., 'Show Open', 'Commercial Break', 'Camera Sequence').
- Click 'OK'. The new macro appears in the list with one empty track ('Track 1').
- Click 'Edit' on the macro card to open the Timeline Editor.
Each macro card has these controls:
| Button | Action |
|---|---|
| ▶ (Play) | Start playback from current position. Glows when playing. |
| ■ (Stop) | Stop playback. Press once to stop at current position. Press again to reset to the beginning. Glows when stopped. |
| Loop | Toggle loop mode. When enabled (glowing), the macro restarts from the beginning when it reaches the end. |
| Speed (e.g., '100%') | Click to open the speed menu. Select a playback speed, enable External Timecode, or open Timecode Settings. |
| Edit | Open the Timeline Editor for this macro. |
| Rename | Change the macro name via a dialog. |
| Clone | Create a duplicate of this macro with all tracks, clips, and commands copied. |
| Delete | Remove this macro. |
The 'Play On Click' toggle at the top of the manager, when enabled, plays a macro immediately when you click its preview thumbnail - useful for quick triggering during a show.
The Timeline Editor
The Timeline Editor is where you build your macro's sequence. It shows a multi track timeline with a playhead, and a clip properties panel on the right.

The editor layout has these key areas:
- Transport bar (top) - Play (▶), Stop (■), time display (HH:MM:SS:FF format), 'Fit' button to zoom the timeline to fit all clips, and a zoom slider.
- Track management (top) - 'Add Track', 'Remove Track', 'Rename Track', 'Delete Clip', 'Undo' buttons.
- Timeline area (centre) - Named tracks stacked vertically with clips shown as coloured blocks. A blue playhead line shows current position.
- Clip Properties panel (right) - Two tabs: 'Clip Settings' and 'Mapping'.
Working with Tracks and Clips
Adding tracks:
- Click 'Add Track'. A new track appears below existing tracks.
- Click 'Rename Track' to give it a meaningful name (e.g., 'Switcher', 'Audio', 'Lighting').
- Tracks run in parallel - all tracks play simultaneously. Use separate tracks to organise commands by device or function.
Creating and editing clips:
- Click and drag on a track to create a new clip. The clip appears as a coloured block with a start and end time.
- Drag a clip's edges to resize it (change duration). Drag the body to move it along the timeline.
- Click a clip to select it. Its properties appear in the Clip Settings panel on the right.
- Clips on the same track cannot overlap. Use different tracks for commands that need to run at the same time.
The Clip Settings tab shows these properties:
| Property | Description |
|---|---|
| Clip Name | Display name for the clip on the timeline. |
| Colour | Visual colour of the clip block. Click the colour picker to change. |
| Curve | Interpolation curve for Linear commands (see below). |
| Start Value | The starting value (0.0-1.0) for Linear interpolation. |
| End Value | The ending value (0.0-1.0) for Linear interpolation. |
Modifier Keys & Shortcuts
The Timeline Editor supports modifier keys for precise clip editing. By default, clips snap to whole second positions when moved or resized. Modifier keys override this behaviour:
| Key | Context | Effect |
|---|---|---|
| Ctrl + drag clip | Moving a clip | Disables snap to second. The clip moves freely with sub second precision, letting you place it at exact fractional positions (e.g., 2.35s instead of snapping to 2s or 3s). |
| Alt + drag edge | Resizing a clip (left edge) | Disables snap to second on the start position. Resize to exact sub second durations. |
| Ctrl + drag edge | Resizing a clip (right edge) | Disables snap to second on the end position. |
| Ctrl + click clip | Selecting clips | Multi select. Add or remove individual clips from the selection without clearing other selected clips. Useful for moving or deleting multiple clips at once. |
| Delete / Backspace | With clip(s) selected | Delete the selected clip(s) from the timeline. |
Use the default snapping to quickly lay out your macro in whole second blocks. Once the structure is right, hold Ctrl or Alt to fine tune individual clip positions and durations to the exact millisecond. This two pass approach is much faster than free positioning everything from the start.
Assigning Commands to Clips
Each clip has four command hooks, accessed via the 'Mapping' tab in the clip properties panel. The Mapping tab has four sub tabs:
| Tab | When commands fire | Typical use |
|---|---|---|
| Start | Once, when the playhead enters the clip | Trigger a switcher cut, recall a preset, fire a graphic |
| End | Once, when the playhead exits the clip | Turn off an effect, reset a state, clear a graphic |
| Press | Button like: sends ON when entering the clip, OFF when exiting | Hold style effects that last exactly the clip's duration |
| Linear | Continuously while the playhead is inside the clip, with an interpolated value | Smooth fader moves, camera transitions, lighting fades |
When you select a clip and open the Mapping tab, the panel is laid out as follows: (A) the four sub tabs (Start, End, Press, Linear) along the top, selecting which hook you are editing; (B) the Target dropdown, which lists every device in your show that exposes commands; (C) the command list, showing the available commands for the selected target device; and (D) the Parameters section at the bottom, showing editable parameters for whichever command is currently selected in the list.
Adding a command to a clip hook:
- Click the clip on the timeline to select it. The Clip Properties panel appears on the right.
- Click the Mapping tab.
- Choose the sub tab for the hook you want (Start, End, Press, or Linear).
- Open the Target dropdown and select the device whose commands you want to browse. Only devices that are in your show appear in this list.
- The command list populates with the available commands from that device. Scroll or use the search button to find the command you need.
- Select a command and click the Add button (or double click the command) to assign it to this hook.
- If the command has configurable parameters (e.g., a preset number, a fader value, a source name), they appear in the Parameters section below. Set them as needed.
- To assign multiple commands to the same hook, repeat from step 4. Commands execute in list order when the hook fires.
Use the Up and Down buttons to reorder commands in the list, and the Remove button to delete a command from the hook.
Start and End fire the command as a momentary press (on then immediately off). Press fires ON at the clip start and OFF at the clip end - it holds for the entire clip duration. Use Press for commands that need to stay active (like a tally light or a hold to activate effect).
The command browser in Flex Macros works identically to the one in the Control Mapping Editor and Trigger Mapping Editor. If you are familiar with mapping controls or triggers, the workflow here is the same: pick a target device, browse its commands, add them to the list, and configure parameters.
Linear Interpolation
Linear commands are the most powerful clip hook. While the playhead is inside a clip, the system continuously sends an interpolated value between the Start Value and End Value, shaped by the selected Curve. Updates are sent continuously while the playhead moves through the clip.
For example, a clip from 2.0s to 5.0s with Start Value 0.0, End Value 1.0, and a Linear curve will smoothly ramp from 0 to 1 over 3 seconds. Map this to an audio fader command and you get a perfect 3-second fade in.
Available interpolation curves
| Curve | Behaviour | Best for |
|---|---|---|
| Linear | Constant speed from start to end | Audio fades, simple transitions |
| Sine | Smooth acceleration and deceleration | Natural feeling camera moves |
| Exponential In | Starts slow, accelerates dramatically | Dramatic reveal effects |
| Exponential Out | Starts fast, decelerates to stop | Smooth landings, ease out |
| Bounce In | Elastic entry effect | Playful motion, impact |
| Bounce Out | Springy exit effect | Playful motion, spring back |

Playback Speed
Click the speed button on a macro card (showing the current speed, e.g., '100%') to open the speed menu. Available speeds:
| Menu Item | Speed | Use |
|---|---|---|
| 25% | Quarter speed | Slow motion rehearsal, fine tuning timing |
| 50% | Half speed | Rehearsal at reduced speed |
| 75% | Three quarter speed | Slightly slowed for practice |
| 100% | Normal speed | Live playback |
| 200% | Double speed | Fast forward through sequences |
| 400% | Quadruple speed | Quick preview of long macros |
| External Timecode | Driven by LTC/MTC | Frame accurate broadcast sync (see below) |
| Timecode Settings | - | Configure timecode offset (see below) |
Selecting a speed sets the internal clock multiplier. The speed is applied immediately if the macro is playing, or takes effect on the next play.
External Timecode Synchronisation
Flex Macros can lock to an external timecode source (LTC or MTC), so your macro's playhead position is driven by house timecode rather than an internal clock. This is essential for broadcast automation where commands must execute at exact timecode positions.
When you select 'External Timecode' from the speed menu, the speed button changes to show 'EXT' with a red glow, indicating the macro is now in external timecode mode. In this mode:
- The internal clock is disabled. The playhead position is set directly by incoming timecode.
- The playhead jumps to match the current timecode value (converted from HH:MM:SS:FF to a position in seconds).
- If timecode jumps forward (e.g., after a pause), clips that were skipped still fire their Start and End commands automatically.
- If timecode jumps backwards, the playhead moves back and clips can fire again.
- Speed settings (25%, 50%, etc.) have no effect - the timecode drives everything.
- Loop mode is disabled in external timecode mode.
Setting up timecode sync:
- Add a timecode input device to your show. For LTC, add 'LTC Input' and configure the audio input. For MTC, add 'MTC Input' and configure the MIDI port.
- Enable the timecode input device.
- Open the Mapping Editor for the timecode input device (click 'Controls').
- The timecode device has a timecode output control. Select it.
- Set the target to your Flex Macros device.
- Map the 'Timecode Input' command. Only one timecode source can drive Flex Macros at a time.
- Now on the macro card, click the speed button and select 'External Timecode'. The button changes to 'EXT' with a red glow.
- The macro's playhead now follows the incoming timecode. Play the timecode source and your macro executes in sync.

Timecode Offset
In many broadcast environments, house timecode does not start at 00:00:00:00. A show might begin at 10:00:00:00 (10 hours) or 01:00:00:00. The Timecode Offset setting lets you specify where your macro's timeline begins relative to incoming timecode.
Configuring a timecode offset:
- Click the speed button on the macro card and select 'Timecode Settings'.
- The 'Timecode Settings' dialog opens with an 'Offset' section showing four fields: Hours, Minutes, Seconds, and Frames.
- Enter the timecode value that corresponds to position 0 on your macro's timeline. For example, if your show starts at 10:00:00:00 and your macro should begin at that point, enter Hours: 10, Minutes: 0, Seconds: 0, Frames: 0.
- Click 'OK'.
- Now incoming timecode of 10:00:05:00 will position the playhead at 5 seconds on your macro timeline (10:00:05:00 minus the 10:00:00:00 offset).
The offset is subtracted from incoming timecode. If the result is negative (timecode has not yet reached your macro's start point), the macro does nothing. Once timecode passes the offset value, the macro begins executing.
Supported frame rates for timecode: 30fps, 29.97fps (drop frame), 25fps, and 24fps.
You can have multiple macros each with different timecode offsets, all listening to the same timecode source. Macro 'Show Open' starts at 10:00:00:00, macro 'First Commercial' starts at 10:15:00:00, macro 'Second Segment' starts at 10:18:30:00. Each fires at exactly the right time in the broadcast.
Playback Commands for Hardware Control
To trigger macros from your control surfaces, map these commands to buttons:
Flex Macros commands
| Command | Type | Parameters | Description |
|---|---|---|---|
| Play Macro | Button | Macro (dropdown) | Play the selected macro at its current speed |
| Play Macro At Speed | Button | Macro, Speed (25%-400%) | Play at a specific speed (only if not already playing) |
| Stop Macro | Button | Macro | Stop playback, keep current position |
| Pause Macro | Button | Macro | Pause playback (resume from same position) |
| Reset Macro | Button | Macro | Stop and reset playhead to position 0 |
| Timecode Input | Frame | - | Receive timecode frames (only one source allowed) |
The Play Macro command provides feedback - mapped buttons glow when the macro is playing and dim when stopped. This works for both 'Play Macro' and 'Play Macro At Speed' commands.
Build your entire show opening as a macro: Track 1 handles switcher cuts at 0s, 3s, 7s. Track 2 fades audio at 0s (linear ramp over 2s). Track 3 fires graphics at 1s and 5s. Map 'Play Macro' to a Stream Deck button. Press once, and the entire opening executes perfectly timed, every time. During rehearsal, play at 50% speed to review. In the show, press and it runs at 100%.
Worked Example: Timecode Locked Commercial Break
Here is a complete example of setting up a timecode locked macro for an automated commercial break sequence in a broadcast environment.
Scenario: Your show runs on house LTC timecode. At 10:30:00:00, you need to execute a commercial break sequence: fade audio, cut to a slate graphic, hold for 3 seconds, then cut back and fade audio up.
Building the macro:
- Create a new macro called 'Commercial Break'.
- Click 'Edit' to open the Timeline Editor.
- You already have Track 1. Click 'Rename Track' and call it 'Audio'. Click 'Add Track' and name it 'Switcher'. Click 'Add Track' and name it 'Graphics'.
- On the Audio track, create a clip from 0.0s to 1.0s. In Clip Settings, set Curve: Linear, Start Value: 1.0, End Value: 0.0. Go to the 'Linear' mapping tab and map your audio mixer's master fader command. This fades audio from full to silent over 1 second.
- On the Switcher track, create a clip at 1.0s to 1.1s. Go to the 'Start' mapping tab and map your ATEM's 'Cut' command. This cuts the switcher at exactly 1 second.
- On the Graphics track, create a clip from 1.0s to 4.0s. In 'Start' map your graphics system's 'Show Slate' command. In 'End' map 'Hide Slate'. The slate shows for 3 seconds.
- On the Switcher track, create another clip at 4.0s to 4.1s. Map 'Cut' to 'Start'. This cuts back from the slate.
- On the Audio track, create a clip from 4.0s to 5.0s. Set Curve: Linear, Start Value: 0.0, End Value: 1.0. Map the master fader. Audio fades back up.
- Close the editor. Your 5-second macro is complete.
Locking to timecode:
- Add an 'LTC Input' device and configure it to receive your house timecode. Enable it.
- Map the LTC Input's timecode output to the Flex Macros 'Timecode Input' command.
- On the 'Commercial Break' macro card, click the speed button → 'Timecode Settings'.
- Set the offset to Hours: 10, Minutes: 30, Seconds: 0, Frames: 0. Click OK.
- Click the speed button → 'External Timecode'. The button shows 'EXT' with a red glow.
- When house timecode reaches 10:30:00:00, the macro automatically begins executing. Audio fades at 10:30:00:00, switcher cuts at 10:30:01:00, slate shows at 10:30:01:00, slate hides and switcher cuts back at 10:30:04:00, audio fades up at 10:30:04:00 to 10:30:05:00.
To rehearse the macro without live timecode, click the speed button and select '100%' to switch back to internal clock mode. The 'EXT' label disappears. Now you can press ▶ to play the macro manually at full speed, stepping through the sequence to check your cues. When you are ready for the show, switch back to 'External Timecode'.