Audacity Support
  • Audacity Support
  • Audacity Basics
    • Downloading & installing Audacity
    • Installing FFmpeg
    • Recording your voice with a microphone
      • Setting recording and playback levels
    • Recording desktop audio
    • Editing audio
    • Saving and exporting projects
    • ☁️Sharing audio online
    • Customizing Audacity
      • Using themes
      • Installing plugins
      • Effect Presets
    • Keyboard shortcuts
  • Repairing Audio Recordings
    • Noise reduction & removal
    • Re-recording a section
    • Removing clicks & pops
  • Audio Editing
    • 🆕Using master effects & realtime effects
    • Making crossfades
    • Speeding up and slowing down audio
    • Changing pitch
    • Mixing and panning tracks
    • 🆕Reducing dynamic range (Compressor / Limiter)
    • Splitting a recording into separate tracks
    • Loudness Normalization
    • Macros
      • Manage Macros
      • Macros Palette
      • Macros Examples
    • Audiobook Mastering
  • Music
    • 🆕Enabling music view
    • Aligning music to beats and bars
    • Working with audio loops
      • Making audio loops
    • Isolating or removing vocals from a song
  • Audio Analysis
    • Spectral analysis
  • Troubleshooting
    • Troubleshooting overview
    • Error codes
      • Error -9996: Invalid Device Error
      • Error -9997: Invalid Sample Rate
      • Error -9998: Invalid number of channels
      • Error -9999: Unanticipated Host Error
      • Error opening sound device
      • Error opening recording device
      • Error: Audacity failed to read a file in C: and Error: Failed to Open Database File
      • Error Audacity did not recognize the type of this file
      • Error: The Audacity IPC server failed to initialize
      • Error code=12: cannot allocate memory (macOS)
      • Error: Missing Plugins
      • Error FFmpeg:1008
      • Installation exit codes
    • Recovering corrupted projects
      • Recovering corrupted projects in legacy Audacity versions
    • Common troubleshooting steps
    • Solving recording problems
      • Audacity is not detecting the audio device I just connected
      • Audacity is not playing back what is being recorded
      • Delay and echoes when recording
      • Crackles, pops and distortion in the recording
      • Vertical red lines in the recording
      • Recording volume slider cannot be moved
      • Audacity records silence when using a Bluetooth headset as a recording device
      • Only the left channel is recording
      • Recording dropouts, gaps, skips and glitches
      • Latency Compensation
    • Solving other problems
    • Resetting Audacity
    • Uninstalling OpenVINO models
    • Missing features
  • Special uses
    • Info for Visually Impaired Users
    • Info for System Administrators
  • Community
    • Contributing to Audacity
      • Making Tutorials and User Guides
        • Style Guide
        • Editing through GitHub
        • Gitbook Markdown syntax
        • TODO
          • Untitled
          • ASIO in Audacity
          • Synchronizing Tracks
            • Keeping Tracks Synchronized
          • Using Macros to Automate Frequent Tasks
          • Using looping Playback
          • Mastering for Audio Books
          • How to use Audacity
          • Working with Tracks
      • Developing Audacity
      • Translating Audacity
      • Answering user questions
      • Testing the latest features
      • Finding & testing plugins
      • Credits & License
    • 💬Discord
    • 💬Forum
  • Additional resources
    • 📄Changelog
      • Audacity 3.7
      • Audacity 3.7.1
      • Audacity 3.7.2
      • Audacity 3.7.3
      • Audacity 3.7.4
      • Older versions
        • Audacity 1.x
        • Audacity 2.x
          • Audacity 2.0.0
            • Audacity 2.0.1
            • Audacity 2.0.2
            • Audacity 2.0.3
            • Audacity 2.0.4
            • Audacity 2.0.5
            • Audacity 2.0.6
          • Audacity 2.1.0
            • Audacity 2.1.1
            • Audacity 2.1.2
            • Audacity 2.1.3
              • New features in Audacity 2.1.3
              • New features in Audacity 2.1.3 - Appendix
          • Audacity 2.2.0
            • New features in Audacity 2.2.0
            • New features in Audacity 2.2.0 - Appendix
            • Audacity 2.2.1
              • New features in Audacity 2.2.1
            • Audacity 2.2.2
              • New features in Audacity 2.2.2
          • Audacity 2.3.0
            • New features in Audacity 2.3.0
            • Audacity 2.3.1
              • New features in Audacity 2.3.1
            • Audacity 2.3.2
              • New features in Audacity 2.3.2
            • Audacity 2.3.3
              • New features in Audacity 2.3.3
          • Audacity 2.4.0
            • New features in Audacity 2.4.0
            • Audacity 2.4.1
              • New features in Audacity 2.4.1
            • Audacity 2.4.2
              • New features in Audacity 2.4.2
        • Audacity 3.0
          • New features in Audacity 3.0.0
          • Audacity 3.0.2
            • New features in Audacity 3.0.2
          • Audacity 3.0.3
            • New features in Audacity 3.0.3
          • Audacity 3.0.4
            • New features in Audacity 3.0.4
          • Audacity 3.0.5
        • Audacity 3.1
          • Audacity 3.1.1
          • Audacity 3.1.2
          • Audacity 3.1.3
        • Audacity 3.2
          • Audacity 3.2.1
          • Audacity 3.2.2
          • Audacity 3.2.3
          • Audacity 3.2.4
          • Audacity 3.2.5
        • Audacity 3.3
          • Audacity 3.3.1
          • Audacity 3.3.2
          • Audacity 3.3.3
        • Audacity 3.4
          • Audacity 3.4.1
          • Audacity 3.4.2
        • Audacity 3.5
          • Audacity 3.5.1
        • Audacity 3.6
          • Audacity 3.6.1
          • Audacity 3.6.2
          • Audacity 3.6.3
          • Audacity 3.6.4
    • Audacity Plugins
Powered by GitBook
LogoLogo

Get Audacity

  • Home
  • Download

Contribute

  • Tutorial makers
  • Translators
  • Testers
  • Developers

Audacity Help

  • Help & Tutorials
  • Manual
  • Help Forum

Resources

  • Plugins
  • Share your audio
  • Muse Hub

© Muse Group & contributors. Contents licensed under the Creative Commons-Attribution 4.0 license.

On this page
  • Select Macro
  • Apply Macro to
  • The buttons

Was this helpful?

Edit on GitHub
Export as PDF
  1. Audio Editing
  2. Macros

Macros Palette

PreviousManage MacrosNextMacros Examples

Last updated 2 years ago

Was this helpful?

You can apply any of the existing macros using the Macros Palette. To open it you can either:

  • Use the menu Tools > Apply Macros > Palette, or

  • Use the Shrink button in the Manage Macros dialog

Once invoked, the Macros Palette window will remain on-screen, actively available, at all times unless and until you dismiss it or close Audacity.

Select Macro

In the "Macro" list, left-click on a Macro (or use Up or Down keyboard arrow) to select the Macro you want to apply.

Apply Macro to

Project

Use the Project button to apply the selected Macro to the current project.

The typical purpose of this option is effect automation - apply a sequence of effects to the project, using effect parameters and an order of applying the effects that you have found to work well for the type of audio you are processing. This saves time and provides consistency in your workflow.

The effects in the Macro are applied to the selected region of waveform in the selected audio tracks. Usually the selected Macro would not include an export command so as to use the greater flexibility of the Export Audio Dialog.

If an export command is included in the Macro, the entire project audio is exported irrespective of track or region selection. Therefore if the project contains multiple audio tracks, they will be mixed together, unless any of the tracks are muted on the Track Control Panel.

  • If the project has been Saved, then the exported files will be saved in a folder named macro-output. The macro-output folder will be in the location specified in Directories Preferences.

  • If the audio in the project came from an imported file as its initial step (that is, it is a named project), the macro-output folder will also be in the location specified in Directories Preferences.

  • If the project has not been saved and is un-named, the normal Export Audio dialog will appear enabling you to choose the name and location of the exported file.

Macros will work on pre-existing selections you make in your project prior to running the Macro. But the selection can be over-ridden by your Macro itself as there are macro commands available to effect selections in the audio. In particular All(Select All) will select the entire project and Select which is parameterizable (see the provided Fade Ends Macro for an example where the first and last one seconds of the audio are selected for the fades).

Files...

The typical purpose of this option is batch processing - apply the Macro to multiple audio files so as to apply one or more effects to them, and/or convert them to another file format. You can convert from any file format supported by Audacity to WAV, MP3, OGG or FLAC.

Use the Files... button to apply the selected Macro to selected external audio files that are in a single directory.

If you already have audio in the current project window, you must save and close that project using File > Close before applying a Macro to files.

You cannot apply a Macro to multiple Audacity AUP3 project files, instead you need to use Python scripting.

The selected Macro must include an Export step, otherwise the processed audio will not be retained.

You cannot process multi-channel audio files (for example, 5.1 surround sound files) using Macros, even if Import / Export Preferences has been set to "Use custom mix". Any multi-channel files you import will be mixed down on export.

  • A standard File Open dialog box will appear. Choose a directory then you can select one or any number of supported audio files in that directory, including older AUP project files (but not AUP3 project files).

    • You cannot select files outside that directory, and files in folders inside that directory will not be processed.

    • It is convenient therefore to first put all the audio files you want to process into one folder before applying the Macro.

  • After selecting the audio files you want to process, choose Open.

  • Each file will be imported into Audacity and processed, exported to the format you chose in the Macro, then the processed audio will be removed so as to clear the temporary disk space that had been used.

  • The exported files will be saved in a folder named "macro-output" in the folder specified in the Macro output field in Directories Preferences. The original files are not altered.

  • If you leave the entry for Macro output blank in Directories Preferences then Audacity will default to creating a folder called "macro-output" in:

    • Windows: C:\Users\<your username>\Documents\Audacity

    • Mac: /Users/<your username>/Documents

    • Linux: /home/<your username>/Documents

When a Macro is applied to files, the only option is to import and process the entire file. Thus the entire file will be exported unless an action or effect in the Macro (such as Cut or Truncate Silence) removes some audio.

  • If modifying the audio before exporting, the Select Time function may be useful to select audio to remove or modify.

  • Some optional Nyquist plugins have parameters to trim or extend audio by a specific length and Nyquist can do calculations too, so it may be helpful to use Nyquist plugins from within a macro.

It is recommended not to process more than 500 files at a time.

The buttons

Expand

Use the Expand to return to the full-size, full-function Manage Macros dialog.

The apply Macro buttons are also available on the Manage Macros dialog - so all Macro operations can be made from that full dialog.

Cancel to exit the dialog

To dismiss the dialog simply click on the Cancel button

Otherwise the dialog will remain open on the screen, but allowing you to perform other Audacity functions.

Macros Palette showing several user-added Macros as well as the as-shipped MP3 Conversion and Fade Ends Macros