# Edit Chains

### From Audacity Manual

Edit Chains allows you to edit, remove or rename existing Chains or add a new Chain. Any built-in or Nyquist effect shown in the Effect Menu can be added to a chain, along with an Export command to save an audio file.

Chains may be applied to either the entirety of the current project or to a selection of files using the File > Apply Chain command.

  Accessed by: File > Edit Chains...

For help with what the Chain effects do and how to set their parameters, see Effect Menu

## Chains

Chains contains a list of already defined chains. You can define the name of a new chain and select which chain is active.

- Add: Add a new chain to the list.
- Remove: Remove the selected chain from the list.
- Rename: Rename the selected chain.

## Chain

Chain lists the sequence of commands in order of first to last (End) for the chain selected in the "Chains" box to left. Here you can add or remove commands for the selected chain, change the order in which the commands execute in the chain, or edit the parameters for some effects in the chain.

To edit an existing command, double-click it, or use the Up or Down keyboard arrow to select it then press Space. The "Select Command" dialog appears as below, but with the command name and any current parameters displayed and editable (using the "Edit Parameters" button). If you want to replace the current command in its current order in the sequence with another command, double-click the new command (or select it then use Space) then choose "OK".

- Insert: To insert a new command in a Chain, left-click or use the Up or Down keyboard arrow to select an existing command; the new command to be inserted will be placed above this selected command. Then press Insert.
  - The "Select Command" dialog appears, listing all the available commands. Double-click a command from the list to insert it in the "Command" box. Alternatively, use the <up> or <down> keyboard arrow to select the command, then press Space.
  - If the command has editable parameters, the Edit Parameters button will be active. Clicking this button will bring up the dialog box for the effect where you can set the parameters as if you were applying the standalone effect.
  - Choose OK in the effect dialog to accept the parameters you entered, or Cancel to revert to the default parameters.
  - Choose OK in the "Select Command" dialog to add the command to the chain.
- Delete: Delete the currently selected command from the list.
- Move Up: Move the currently selected command up in the list.
- Move Down: Move the currently selected command down in the list.
- Defaults: This button is only active when the "MP3 Conversion" chain is selected in the "Chain" list on the left, and will reset this chain to its default values.

### Notes on specific commands

- The "Import" command is non-functional at present. To apply a chain to a group of files which are not yet imported, create your chain, choose File > Apply Chain... then choose Apply to Files....
- The SaveHqMaster1 and SaveHqMaster2 commands can be used respectively to export "before" and "after" MP3 files at 56 kbps bit rate at any point in the chain of processing. This allows you to compare the result of one or more effects, or provide files for different purposes with and without a particular effect.
  - The name of the MP3 exported by the "SaveHqMaster1" command is prefixed by "MasterBefore_" and that exported by the "SaveHqMaster2" command is prefixed by "MasterAfter_".

| Parameters for export formats cannot be set in "Edit Chains". To configure export parameters for the chain, click File > Export... to access the File Export Dialog, click Options, set the parameters, press OK then Cancel the export. An audio track must be on screen in order to open the File Export Dialog.

### Sharing a chain

Each chain is automatically saved as a separate text file with TXT extension in the "Chains" folder in Audacity's folder for application data. This allows you to copy a Chain and send it to another user. You can also add another user's Chain to your own list of Chains by copying it into this folder. An updated list of Chains will be available next time you open "Edit Chains" in Audacity.

##### Views

##### Help Location

- Local manual in use
- Internet manual