Skip to content

Record Audio

  • Action
  • Audio & media
  • Advanced mode

Records a microphone, or what the PC plays (a call, a stream, a game), into a WAV file. Start recording and Stop recording (by Name), or Record for a time. The emergency stop and closing MacroWin always stop it.

In the editor, press Space on the canvas to add a step, then open Actions > Audio & media, or type its name. In Simple mode it's under Show all, and search finds it.

Settings

Action

A choice
  • Start recording
  • Stop recording
  • Record for a time

Starts as: Start recording Can come from another step's output

Source

A choice
  • Microphone
  • What the PC plays: From a speaker or headphones, as they play it.

Starts as: Microphone Can come from another step's output

Device

Text More options

Part of the device's name as Windows shows it, e.g. Headset. Empty: Windows' default.

Starts as: empty Takes ${variables} and expressions Can come from another step's output

Save to

A file path

A .wav file; an existing one is replaced.

Starts as: empty Takes ${variables} and expressions Can come from another step's output

For (ms)

A duration

How long to record.

Starts as: 10000 Can come from another step's output

Name

Text

Stop recording stops the recording with this name (empty: the only one running).

Starts as: recording Takes ${variables} and expressions Can come from another step's output

Keep recording after the macro ends

On or off More options

Off: it stops when this macro's run ends.

Starts as: Off Can come from another step's output

Where it continues

  • Out: Continues here when it's done.
  • Failed: Continues here when it fails; the reason is in the run log.

Outputs

Values the step gives to the steps after it. In the Graph view, drag a wire from an output to another step's field.

Record Audio outputs
OutputGivesWhat it is
FileTextThe recording's full path.
Length (s)SecondsHow long it is, after Stop or Record for a time.
ErrorTextWhy it failed; empty when it worked.

More in Audio & media