# Sync-Locked Track Groups - Editing

From Audacity Development Manual

## Editing operations on Sync-Locked Track Groups

The Edit menu commands Cut, Delete and Paste will affect all tracks in the currently selected Sync-Locked Track Group because these commands change the length of the tracks(s).

All other commands in the Edit menu will not affect Sync-Locked tracks because these commands do not change the length of the selected track(s).
These commands are: Cut and leave gap, Delete and leave gap, Copy, Trim Audio, Split Delete, Silence Audio, Split, Split New, Detach at Silences and Duplicate.

### Examples of editing operations on Sync-Locked Track Groups

- Cut
- Silence Audio
- Trim Audio
- Paste
- Label track defined Sync-Locked Track Groups
- Selecting in label tracks
- Reversing Audio

## Cut

  Before Edit > Cut

  After Edit > Cut

  Result: Audio has been cut from the lower track as well as the upper track.
  The same thing happens for Edit > Delete because those commands remove audio from a track and the following audio on all sync-locked tracks must move to remain synchronized.

## Silence Audio

  Before Edit > Remove Special > Silence Audio

  After Edit > Remove Special > Silence Audio

  Result: There has been no change in the lower track.
  This is because "Silence Audio" does not move (change the time position of) any audio in the selected track.

## Trim Audio

  Before Edit > Remove Special > Trim Audio

  After Edit > Remove Special > Trim Audio

  Result: There is no change in the lower track.
  Although the length of the upper track has changed, it remains synchronized with the lower track.

## Paste

Here is the same project but now there is no selection. The cursor is in the top track, and that track is selected as can be seen by darker gray color of the Track Control Panel.

You need to look for the Sync-Lock icons in the Track Control Panels to know that these tracks are Sync-Locked.

  Before Edit > Paste

  After Edit > Paste

  Result: Audio is pasted into the top track moving the following audio to the right.
  Silence is inserted in the lower track to keep it synchronized with the top track.

## Label track defined Sync-Locked Track Groups

Here is a project with two mono audio tracks above a label track all of which are above a stereo music track. There is a selection in the upper mono audio track. The sync-locked selection extends into the second mono audio track and into the label track but not into the stereo music track. The label track defines a Sync-Locked Track Group comprised of itself and the two mono audio tracks above it; this can be verified by examining the Track Control Panels and observing the sync-lock icons at the lower right-hand corners.

  Before Edit > Cut

  After Edit > Cut

  Result: Audio is removed from the two mono audio tracks along with the first label and other label in the label track is moved so that the three tracks remain synchronized.
  No audio is removed from the stereo music track.

## Selecting in label tracks

  Selections can be made in a label track and the Sync-Locked selection will extend into any audio and label tracks in the group.

  Before Edit > Cut

  After Edit > Cut

  Result: The selected portion of the label track is removed, including the label spanned by the selection.
  Audio is removed from the Sync-Locked audio tracks as well.

## Reversing audio

When using the Reverse effect on audio or labels within a Sync-Locked Track Group then all audio within the selected time range in all tracks of that Sync-Locked Track Group will be reversed, as will labels within any associated Label track.

Here is a project with two mono audio tracks above a label track all of which are above a stereo music track. There is a selection in the upper mono audio track. The sync-locked selection extends into the second mono audio track and into the label track.

  Before Effect > Reverse

  After Effect > Reverse

  Result: Audio has been reversed in the lower track as well as the upper track, also the labels in the Label track have been reversed this keeping everthing in synchronization.
  Note that in the audio tracks Audacity has turned both reversed audio sections into Clips, observe the black clip lines.

## Links

> Forward to: Sync-Locked Track Groups - Time Shifting

|< Sync-Locked Track Groups