You can apply any of the existing macros using the Macros Palette. To open it you can either:
Macros Palette showing several user-added Macros as well as the as-shipped MP3 Conversion and Fade Ends Macros
Once invoked, the Macros Palette window will remain on-screen, actively available, at all times unless and until you dismiss it or close Audacity.
In the "Macro" list, left-click on a Macro (or use Up or Down keyboard arrow) to select the Macro you want to apply.
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.
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).
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.
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.
- 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.
- 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
It is recommended not to process more than 500 files at a time.
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.