How to Use Audacity Macro Manager for Batch Processing
Audacity's Macro Manager allows you to automate repetitive audio editing tasks and process multiple files at once. By chaining together specific effects, commands, and export settings into a single macro, you can apply consistent processing across an entire library of recordings with just a few clicks. This guide covers how to create a custom macro, add and configure editing commands, and run batch processes on multiple audio files.
Accessing the Macro Manager
- Open Audacity.
- Navigate to the top menu and select Tools.
- Click Macros... to open the Macro Manager dialog window.
Creating a New Macro
- In the left panel of the Macro Manager, click the New button.
- Enter a descriptive name for your macro (for example, "Podcast Vocal Cleanup" or "Normalize and Export") and click OK.
- Your newly created macro will now appear selected in the left-hand list.
Adding Commands to the Macro
- Click the Insert button on the right side of the window to add your first command.
- Scroll through the list or search for the effect or action you want to perform (such as Normalize, Compressor, or High-Pass Filter).
- Select the command and click Edit Parameters to adjust the specific settings for that effect. Once configured, click OK.
- Repeat this process to add more commands in sequence.
Note: If your goal is batch processing external files, always end the chain with an export command, such as Export as MP3 or Export as WAV.
Reordering and Removing Commands
- Reorder: Use the Move Up and Move Down buttons on the right to place your commands in the correct execution sequence. For example, place cleanup effects like noise removal and equalization before compression and limiting.
- Delete: Select an unwanted command and click Delete.
Running the Macro on a Batch of Files
- With the Macro Manager still open, look at the Apply Macro to: section at the bottom left.
- Click the Files... button.
- Use the file browser to select all the audio files you want to
process. You can hold
Ctrl(orCmdon Mac) to select individual files, orShiftto select a range. - Click Open.
Audacity will sequentially open each file, apply the chained commands in order, export the processed audio, and close the file. Processed files are automatically saved in a new folder labeled macro-output located inside the original directory of the source files.
Running the Macro on the Current Project
To apply the macro to the currently open project instead of external files, open Tools > Apply Macro, and select your macro name from the list. Alternatively, click Project inside the Macro Manager window to run it on active tracks immediately.