Macros

Updated Nov 16, 2026 18 min read

ON THIS PAGE

Settings → Control → Macros (Premium) — a macro is a named list of things the mixer does, one after another, from a single press: mute your mic, duck the music, wait a moment, recall a scene. You start it from the list, from a hotkey, from an Automation rule, or from a Stream Deck or other Open API button — they all run the same macro.

🔒 Premium

Macros are a Premium feature — the tab shows a locked preview until you unlock it. See Accounts & Premium.

Making a macro

Click + Add macro, give it a name, and add steps with the buttons under the list:

  • + Action — anything a hotkey can do: mute, solo, set or move a fader, change a send, switch a route, recall a scene, trigger a Soundboard pad, start a recording, set or switch any knob of a panel (Parameter: Set / Adjust / On / Off)… The fields are the same as in a hotkey. On a key with Put back what it changed on release on, a knob a step changed goes back like a fader does.
  • + Wait — pause for 10 ms to 60 s. The macro just waits; everything else keeps working.
  • + Run macro — run another macro at this point (one made of steps or a script), wait for it to finish, then carry on.
  • + If — look at one thing and choose: a channel or bus is muted or soloed, a fader's level is above or below a number, a scene is the active one, or the engine is running. The Then and Otherwise parts are lists of steps of their own.

Each step has a switch (skip it without deleting it), arrows to move it, a copy button, and Edit / Delete. Steps run top to bottom.

Two choices apply to the whole macro:

  • If triggered again — what happens when you start it while it is still running: Start over, Ignore the new press, or Stop it (so one key can start and stop it).
  • If a step fails — Stop the macro (and tell me), or Skip it and carry on. A step fails when what it points at no longer exists, or the action refuses. You get one message, not one per press.

Save & run saves the macro and runs it for real — this is your mixer, not a preview. A small log underneath says what it did and when and, if it stopped, why. Its buttons fold long lines, empty it (the trash can) and write it to a text file (Save…). It follows new lines while you are at its end; scroll up to read and it stays put. Stop ends it at any moment. Back in the list, the ▶ button runs a macro, and Stop all ends everything that is running.

Parameters

A macro can take values, like a function. One Duck macro with a level parameter can duck the music to −20 dB on one key and to −35 dB on another, instead of two macros that differ in one number.

Under Parameters, + Parameter adds one. Each has:

  • a name — letters, digits and _, no spaces (a script reads it as aura.args.level);
  • a label — what hotkeys, rules and steps show (the name when empty);
  • a type — Number (with an optional range and unit), On / off, Choice (one of a list you type, separated by commas), Text, Channel or Bus;
  • a default — used when whoever runs the macro gives no value. Leave it empty and a value must be given.

Wherever the macro is started — a hotkey or an Automation rule with Macro: Run, a Run macro step in another macro — each parameter gets a field. Empty means "the default"; a parameter without a default is marked with *.

Steps use parameters through Or … rows under their fields: Or value, Or target, Or wait (ms) for, Or compare with and so on. Pick Parameter: level and that field takes the value the macro was started with. In a Run macro step, a value for the other macro can also come from one of this macro's own parameters.

A value that doesn't fit — text where a number belongs, a number outside the range, a choice that isn't on the list — stops the macro before it starts, with a message that names the parameter. A value for a parameter the macro no longer has (renamed or removed since) is skipped and noted in the log.

Holding a key

A macro is only what to do. Whether it is pressed once or held is up to whatever starts it, so the same macro can be a tap on one key and a "cough" or "panic" button on another. Give a hotkey (or a Stream Deck key) the Macro: Run action and pick its Mode:

  • Tap — the macro runs once, to the end, and keeps what it changed.
  • Hold — the macro you pick under On hold runs when you press. Letting go stops it if it is still running, so "hold for 5 seconds to delete this channel" is simply a macro with a 5-second wait before the delete: let go after 2 seconds and nothing is deleted.

What else happens when you let go is the key's choice, set right under the Mode:

  • On release — another macro that runs when the key goes up, with its own parameters. It runs if the On hold macro reached its end.
  • Also run when On hold was interrupted — runs On release even if the On hold macro did not reach its end: you let go first, Stop or Stop all stopped it, or a step failed. After Stop, it still waits for the key to go up. If the On hold macro never started at all (it is switched off, say), On release doesn't run either.
  • Put back what it changed on release — when you let go, everything the On hold macro changed returns to how it was when you pressed: faders, mutes, solos, sends, routes and any knob, even one you moved by hand while holding. Stop and Stop all put back too, so nothing is left muted for good. This happens before On release runs. Some things can't be put back, such as a recalled scene, a deleted channel or a recording that was started — those stay as they are.
💡 Tip

A "cough" button: a macro that mutes the mic and lowers the music under On hold, with Put back what it changed on release on. Leave it off for a macro you don't want undone.

💡 Tip

A loop such as while (aura.held) { … } is always stopped by letting go, so its On release needs Also run when On hold was interrupted.

Automation rules and Run macro steps run a macro once, like a tap.

Never above 0 dB

A step that sets or moves a fader or a send level has Keep between … and … dB — leave a side blank for no limit. Enter 0 as the maximum and that step can never leave the level above 0 dB, however many times it runs. The limit belongs to the step, so one macro can be strict where another is not.

A macro belongs to your project, not to a scene: it is there whichever scene is active. A step that points at a channel the active scene doesn't have uses the only one with the same name, and the step list says (by name). With two of that name, or none, the step reports it as missing when it runs (see If a step fails).

Scripts

Steps cover most things. For the rest — repeating something, remembering a value, deciding in your own way — switch the macro from Steps to Script. The first time, your steps are written out as code for you to edit; switching back to Steps keeps your steps as they were.

A script is JavaScript, and the whole mixer is in one object, aura — channels, buses, VCA groups and everything in them, as objects you read and change:

// Cough button: mute the mic and pull the music down (on a Hold key with Put back on, it all comes back)
const mic = aura.channels["Mic"];
mic.mute();
aura.channels["Music"].fader = -30;

mic.gate.attack = 2;                        // ms — the editor shows the unit and the range
mic.inserts.first("reverb").wet = 25;       // the first Reverb you added to the chain
mic.sends["Stream"].level = -12;            // how loud the mic goes to the Stream bus
aura.buses["Stream"].limiter.threshold = -1;

Names. aura.channels["Mic"] picks by the name you see in the mixer (case doesn't matter); aura.channels[0] or .at(0) picks by position, in the mixer's order, and for buses aura.buses[0] is always Main. For a position held in a variable use .at(i), which the editor can check. A channel actually named with a number is found by that name first, and .at(…) is always by position. A name nobody has is an error that suggests the closest one, and two channels with the same name ask you to use .byId(…) or .at(…). An object remembers which channel it is, so renaming the channel while the script runs breaks nothing.

The table below is the short version. Every object, property, unit, range and method is in the Macro script reference.

What How
Channels, buses, VCA groups aura.channels["Mic"] · aura.buses["Stream"] · aura.main · aura.vcas["Voice"] · for (const channel of aura.channels) …
Level, mute, solo channel.fader = -12 · channel.mute() · channel.unmute() · channel.toggleMute() · channel.muted · the same with solo
Processing channel.input · channel.input.mode = "stereo-mono" (mono, mono-right, stereo, stereo-mono, 5.1, 7.1) · channel.gate · channel.comp · channel.eq.bands[2].gain · channel.spatial — every knob of the panel, by its name (attack, threshold, release …)
Effects you added channel.inserts[0] (in the order you added them) · channel.inserts.first("delay") · insert.is("reverb") · insert.as("reverb") · insert.enabled = false
Signal order channel.chain[1].enabled = false switches off whatever is second in the chain; channel.chain[1].node is that node itself
Sends and routing channel.sends["Stream"].level · .enabled · .preFader · bus.routes["Main L+R"].enabled · channel.comp.sidechain.source = aura.channels["Mic"]
Players, Soundboards, Recorders channel.player.next() · .seek(30000) · .playTrack(2) · .state · board.soundboard.pads["Airhorn"].trigger() · bus.recording.start() · bus.recording.elapsed
Levels right now channel.meter.input.peak · channel.meter.preFader.peak · channel.meter.output.peak · the same on bus.meter · .left · .right · .clip · channel.meter.input.channels["C"].peak · channel.gate.meter.output.peak (dBFS) · channel.gate.reduction · channel.gate.detector · bus.loudness.shortTerm
Monitor and solo aura.monitor.volume · aura.monitor.dim = true · aura.monitor.getSoloed() · aura.monitor.clearSolo() · aura.monitor.meter.output.peak
Presets channel.gate.applyPreset("Light Gate") · channel.gate.presets · channel.gate.preset · channel.applyPack("Podcast Voice") · aura.presets
Engine, scenes, macros aura.engine.stop() · aura.scenes["Streaming"].recall() · aura.macros["Panic"].run() starts another macro on its own · aura.macros["Duck"].call({ level: -20 }) runs it and waits for it
Parameters aura.args.level — the values this macro was started with; a Channel or Bus parameter is the channel or bus itself (aura.args.who.mute()), or null when it no longer exists
Messages aura.notify("Music ducked") shows a short message in the app (and in the log), aura.notify("Stream is close to clipping", "warning") says how serious it is: "info", "warning" or "error" · aura.log("text") writes to the log only
Time and flow aura.wait(500) · aura.stop() · aura.run("player.next", { target: "Music" }) — any action of the hotkey list by id

Every part of a channel or bus has enable(), disable() and toggle() where it can be switched on and off.

Reading levels. A channel and a bus each measure three points of their path, all read the same way:

Point On a channel On a bus
meter.input What comes from the source, before any processing What reaches the bus, before its gain, EQ and limiter
meter.preFader After its processing, before its fader. A muted channel still shows here After its gain, EQ and limiter, before its fader
meter.output After the fader, ducking and pan: what goes on to the buses After the fader: what leaves the bus

Each point has peak, left, right and clip, in dBFS, where silence reads as −120, and channels with each channel by name or position: meter.input.channels["L"], meter.input.channels[0].

  • 5.1 and 7.1. meter.input has every speaker (FL FR C LFE BL BR SL SR), and its peak is the loudest of them, so a sound on the centre alone still counts. The other points always have L and R, since a channel carries two channels from there on.
  • Mono modes. meter.input still has both sides, since the mode comes after it, which shows when a mic is on the wrong side.
  • A slow script misses nothing. A meter gives the loudest moment since this script last looked at it, so a loop() that runs once a second still sees a short peak, and clip says whether it reached 0 dBFS in that time. All reads in one call of loop(), or between two aura.wait(), give the same answer.
  • Pan takes 3 dB. With the pan in the centre and the fader at 0, meter.output reads about 3 dB below meter.preFader. That is how pan keeps the loudness even across the stereo field.

Levels of a single node. channel.gate.meter.input and channel.gate.meter.output read the same way, and so do channel.input.meter, channel.comp.meter, channel.eq.meter, channel.inserts[0].meter, bus.eq.meter and bus.limiter.meter. A node is measured only while a script reads it, so the first read is silence and the level comes a moment later. A node that is switched off reads as silence. channel.gate.detector and channel.comp.detector are something else: what the node reacts to, with its sidechain, which is not always what goes through it.

Changing the layout. A script normally changes values — levels, knobs, what is on and off. To let it change the mixer itself, switch on Can change the mixer's layout at the top of the script. Then it can also:

What How
Add aura.channels.add("player", "Music 2") (phys, loop, apploop, player, generator, soundboard) · aura.buses.add("record", "Archive") (phys, app, record) · aura.vcas.add("Voice") — each hands back what it made
Remove channel.remove() · bus.remove() (not Main L+R) · vca.remove()
Reorder aura.channels.move(channel, 0) · aura.buses.move(bus, 1) (Main L+R stays first) · aura.vcas.move(vca, 0)
Effects channel.inserts.add("reverb") at the end of the chain, or add("reverb", 0) at a position · insert.remove() · channel.chain.move(0, 3) moves what is first to the fourth place
Names and looks channel.name = "Voice" · bus.color = "#22c55e" · channel.vca = aura.vcas["Voice"] (null takes it out) · a pad's label, color and holdToPlay

A new channel's source — the device, application or file it plays — is picked in the app. Without the switch each of these stops the script and says the switch is needed. None of them is put back when a held key is let go. A macro file with such a script says so when you import it.

Mistakes. A wrong name, a value outside the knob's range (gate.attack = 500 → must be 0.1–200 ms), or writing something read-only stops the macro with the line number and the reason in the log. Wrap it in try { … } catch (e) { … } to carry on instead. The editor underlines most of these before you run anything — a channel, preset or pad name that doesn't exist, a misspelt knob, a value that isn't one of the allowed ones — and hovering over a name shows its unit and range.

What a faulty script cannot do. A script cannot touch files, the network or other programs, and it can't press keys for you. It is stopped, with a message that says why, when it:

  • loops without ever waiting — add aura.wait(…) to a loop that keeps checking a level;
  • asks the mixer thousands of times without a wait in between;
  • calls itself without end, or uses too much memory;
  • runs longer than 10 minutes.

Stop works at any time, and the rest of the app keeps running whatever the script does.

Holding a key. When a key in Hold mode starts the script, letting go stops the script. aura.held is true while the key is down, so a loop can run for as long as the key is held: while (aura.held) { …; aura.wait(50); }. If the key has Put back what it changed on release on, everything the script changed goes back — values set by name, by mute(), by a preset.

Telling Automation something happened. aura.events.custom("going-live").emit({ title: "Ranked" }) sends an event of your own, for rules that listen to it. A macro can send events but not listen to them: it isn't running when they arrive.

Leaving values for another macro. aura.bag is a set of named values every macro can read and write, so one macro can leave something for the next. A Hold key's On hold macro can remember a level and its On release macro can bring it back:

// On hold
aura.bag.music = aura.channels["Music"].fader;
aura.channels["Music"].fader = -30;

// On release
aura.channels["Music"].fader = aura.bag.music;
delete aura.bag.music;
  • It holds values, not references: numbers, text, true / false, and lists and objects of those. Reading gives a copy, so aura.bag.list.push(1) changes nothing — change the list and assign it back. A channel stored there becomes text.
  • A name nothing was stored under reads as undefined. "music" in aura.bag, Object.keys(aura.bag) and delete aura.bag.music work as on any object.
  • It is shared by every macro, imported ones too, so two macros using the same name overwrite each other. A prefix keeps them apart: aura.bag["duck.music"].
  • A key pressed again before its On release finished would remember the level already lowered. To be safe, remember only when nothing is stored yet: if (!("music" in aura.bag)) aura.bag.music = channel.fader;.
  • It is gone when the app closes, and it isn't saved in a macro file. It holds up to 1,000 values, up to 64,000 characters each and 2 million in all, nested at most 32 levels.

A macro as a function. aura.macros["Duck"].call({ level: -20, who: aura.channels["Music"] }) runs the other macro — steps or script — with those values and waits until it is done. A script that defines function main(args) { … } is called like one: the code around it runs first, then main gets the values, and what it returns comes back from call():

// "Louder of two" — parameters a and b (Channel)
function main(args) {
    return args.a.fader > args.b.fader ? args.a.name : args.b.name;
}
const name = aura.macros["Louder of two"].call({ a: aura.channels["Mic"], b: aura.channels["Music"] });
aura.notify(name + " is louder");

A result is plain data — numbers, text, true / false, lists and objects of those; a channel in it comes back as text, the way you would write it (aura.channels["Mic"]). A call that fails (a value missing, the other macro stopping with an error) is an error you can catch with try { … } catch (e) { … }. A macro that ends up calling itself, directly or through others, is stopped, and so is a loop that keeps calling macros without end. On a Hold key with Put back what it changed on release on, what a called macro changed goes back too.

Everything goes through the objects above. A short form such as aura.mute("Mic") doesn't exist — the editor underlines it, and running it stops the macro with what to write instead (aura.channels["Mic"].mute()).

Sharing a macro

Export (the arrow on a macro's row) saves it as a .auramacro file, together with any macros it runs. Import… adds the macros from such a file.

An imported macro is somebody else's work, so it arrives carefully:

  • It is switched off. Read it, then switch it on.
  • If the file contains a script, you are asked first: scripts control your whole mixer — import only from sources you trust.
  • Channels, buses and scenes are matched again by name in your mixer, because the same channel has a different internal identity on another PC. Anything your mixer doesn't have is listed after the import, and that step shows (missing) until you point it somewhere.
  • A macro whose name is already taken gets a number added.
💡 Tip

to share a macro that points at things in your mixer, name those channels the same way on both sides — that is how they are found again.

Still stuck? Ask the community on Discord.
An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.