Scripting Reference
From Audacity Development Manual
This is an experiemental page, not linked to from anywhere, to list automation commands.
Contents
Edit: Remove Special
For more "advanced" removal of audio
| Automation Id | Action | Parameters | Description |
|---|---|---|---|
| SplitDelete | Split Delete | none | Same as Delete, but none of the audio data or labels to right of the selection are shifted. |
Transport: Play
These commands control playback in Audacity. You can Start, Stop or Pause playback of the audio in your project.
| Automation Id | Action | Parameters | Description |
|---|---|---|---|
| Play | Play/Stop | none | Starts and stops playback or stops a recording (stopping does not change the restart position). Therefore using any play or record command after stopping with "Play/Stop" will start playback or recording from the same Timeline position it last started from. You can also assign separate shortcuts for Play and Stop. |
Transport: Record
These commands control recording in Audacity. You can Start, Stop or Pause recording in your project. You can either start a recording on your existing track or an a new track.
| Automation Id | Action | Parameters | Description |
|---|---|---|---|
| Record1stChoice | Record | none | Starts recording at the end of the currently selected track(s). |
| Record2ndChoice | Record New Track | none | Recording begins on a new track at either the current cursor location or at the beginning of the current selection. |
Tracks Menu
For extending a selection to more tracks.
| Automation Id | Action | Parameters | Description |
|---|---|---|---|
| RemoveTracks | Remove Tracks | none | Removes the selected track(s) from the project. Even if only part of a track is selected, the entire track is removed. |
Effect Menu
Effect
| Automation Id | Action | Parameters | Description |
|---|---|---|---|
| ChangePitch | Change Pitch... |
|
Change the pitch of a selection without changing its tempo. |
| ChangeSpeed | Change Speed... |
|
Change the speed of a selection, also changing its pitch. |
| ChangeTempo | Change Tempo... |
|
Change the tempo and length (duration) of a selection without changing its pitch. |
Extra: Track
Extra commands to operate on a track that has focus
| Automation Id | Action | Parameters | Description |
|---|---|---|---|
| TrackMute | Mute/Unmute focused track | none | Toggles the Mute button on the focused track. |