Skip to main content

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:

  1. Add a 'Flex Macros' device from the Add Device browser (Category: Production Tool). Enable it.
  2. Click the device's custom UI button to open the Macro Manager.
  3. The manager shows a scrollable list of macros. Each macro card shows its name, a timeline preview thumbnail, and transport controls.

The Flex Macros Manager showing macro cards with timeline previews and control buttons

Creating a new macro:

  1. Click 'New Macro' at the top of the manager.
  2. A dialog titled 'Macro Name' appears. Enter a descriptive name (e.g., 'Show Open', 'Commercial Break', 'Camera Sequence').
  3. Click 'OK'. The new macro appears in the list with one empty track ('Track 1').
  4. Click 'Edit' on the macro card to open the Timeline Editor.

Each macro card has these controls:

ButtonAction
▶ (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.
LoopToggle 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.
EditOpen the Timeline Editor for this macro.
RenameChange the macro name via a dialog.
CloneCreate a duplicate of this macro with all tracks, clips, and commands copied.
DeleteRemove 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 Flex Macros Timeline Editor showing transport controls, track management, multi track timeline, and clip settings panel

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:

  1. Click 'Add Track'. A new track appears below existing tracks.
  2. Click 'Rename Track' to give it a meaningful name (e.g., 'Switcher', 'Audio', 'Lighting').
  3. Tracks run in parallel - all tracks play simultaneously. Use separate tracks to organise commands by device or function.

Creating and editing clips:

  1. Click and drag on a track to create a new clip. The clip appears as a coloured block with a start and end time.
  2. Drag a clip's edges to resize it (change duration). Drag the body to move it along the timeline.
  3. Click a clip to select it. Its properties appear in the Clip Settings panel on the right.
  4. 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:

PropertyDescription
Clip NameDisplay name for the clip on the timeline.
ColourVisual colour of the clip block. Click the colour picker to change.
CurveInterpolation curve for Linear commands (see below).
Start ValueThe starting value (0.0-1.0) for Linear interpolation.
End ValueThe 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:

KeyContextEffect
Ctrl + drag clipMoving a clipDisables 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 edgeResizing a clip (left edge)Disables snap to second on the start position. Resize to exact sub second durations.
Ctrl + drag edgeResizing a clip (right edge)Disables snap to second on the end position.
Ctrl + click clipSelecting clipsMulti select. Add or remove individual clips from the selection without clearing other selected clips. Useful for moving or deleting multiple clips at once.
Delete / BackspaceWith clip(s) selectedDelete the selected clip(s) from the timeline.
Hint: Snapping for Quick Layout, Modifiers for Precision

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:

TabWhen commands fireTypical use
StartOnce, when the playhead enters the clipTrigger a switcher cut, recall a preset, fire a graphic
EndOnce, when the playhead exits the clipTurn off an effect, reset a state, clear a graphic
PressButton like: sends ON when entering the clip, OFF when exitingHold style effects that last exactly the clip's duration
LinearContinuously while the playhead is inside the clip, with an interpolated valueSmooth 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:

  1. Click the clip on the timeline to select it. The Clip Properties panel appears on the right.
  2. Click the Mapping tab.
  3. Choose the sub tab for the hook you want (Start, End, Press, or Linear).
  4. 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.
  5. The command list populates with the available commands from that device. Scroll or use the search button to find the command you need.
  6. Select a command and click the Add button (or double click the command) to assign it to this hook.
  7. 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.
  8. 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.

Hint: Start vs Press

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).

Hint: Same Pattern, Different Context

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

CurveBehaviourBest for
LinearConstant speed from start to endAudio fades, simple transitions
SineSmooth acceleration and decelerationNatural feeling camera moves
Exponential InStarts slow, accelerates dramaticallyDramatic reveal effects
Exponential OutStarts fast, decelerates to stopSmooth landings, ease out
Bounce InElastic entry effectPlayful motion, impact
Bounce OutSpringy exit effectPlayful motion, spring back

Comparison of six interpolation curves: Linear, Sine, Exponential In, Exponential Out, Bounce In, and Bounce Out

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 ItemSpeedUse
25%Quarter speedSlow motion rehearsal, fine tuning timing
50%Half speedRehearsal at reduced speed
75%Three quarter speedSlightly slowed for practice
100%Normal speedLive playback
200%Double speedFast forward through sequences
400%Quadruple speedQuick preview of long macros
External TimecodeDriven by LTC/MTCFrame 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:

  1. 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.
  2. Enable the timecode input device.
  3. Open the Mapping Editor for the timecode input device (click 'Controls').
  4. The timecode device has a timecode output control. Select it.
  5. Set the target to your Flex Macros device.
  6. Map the 'Timecode Input' command. Only one timecode source can drive Flex Macros at a time.
  7. Now on the macro card, click the speed button and select 'External Timecode'. The button changes to 'EXT' with a red glow.
  8. The macro's playhead now follows the incoming timecode. Play the timecode source and your macro executes in sync.

Close up of a macro card with the speed button displaying EXT in red, indicating external timecode mode

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:

  1. Click the speed button on the macro card and select 'Timecode Settings'.
  2. The 'Timecode Settings' dialog opens with an 'Offset' section showing four fields: Hours, Minutes, Seconds, and Frames.
  3. 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.
  4. Click 'OK'.
  5. 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 Timecode Settings dialog with offset spinners for Hours, Minutes, Seconds, and Frames

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.

Hint: Multiple Macros, Different Offsets

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

CommandTypeParametersDescription
Play MacroButtonMacro (dropdown)Play the selected macro at its current speed
Play Macro At SpeedButtonMacro, Speed (25%-400%)Play at a specific speed (only if not already playing)
Stop MacroButtonMacroStop playback, keep current position
Pause MacroButtonMacroPause playback (resume from same position)
Reset MacroButtonMacroStop and reset playhead to position 0
Timecode InputFrame-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.

Hint: Automated Show Openings

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:

  1. Create a new macro called 'Commercial Break'.
  2. Click 'Edit' to open the Timeline Editor.
  3. 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'.
  4. 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.
  5. 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.
  6. 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.
  7. On the Switcher track, create another clip at 4.0s to 4.1s. Map 'Cut' to 'Start'. This cuts back from the slate.
  8. 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.
  9. Close the editor. Your 5-second macro is complete.

Locking to timecode:

  1. Add an 'LTC Input' device and configure it to receive your house timecode. Enable it.
  2. Map the LTC Input's timecode output to the Flex Macros 'Timecode Input' command.
  3. On the 'Commercial Break' macro card, click the speed button → 'Timecode Settings'.
  4. Set the offset to Hours: 10, Minutes: 30, Seconds: 0, Frames: 0. Click OK.
  5. Click the speed button → 'External Timecode'. The button shows 'EXT' with a red glow.
  6. 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.
Hint: Rehearsal Without Timecode

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'.