User:PeterSampson/Sand-Box

From Audacity Development Manual
Jump to: navigation, search


Comparing different versions of "Label Tracks" section "Removing Labels"

Current version

Removing labels

Labels can be removed (deleted) in a number of ways. However because labels are usually associated with an audio track, the label deletion method may affect whether or not the remaining labels are still synchronized with the audio (that is, remain associated with the same part of the audio track).

Removing labels only

Peter 26Jul13: For me this section is still not working, it doesn't flow properly - so I will set aside some time to edit this further.

Labels can be removed using a Split method method (leaving the labels following to right in the same position, so still synchronized with their audio), or by a Delete method (or cut) method (moving the following labels backwards). Delete or cut will desynchronize the following labels with their audio if you only remove the labels without also deleting the same region in the audio track.

  • Split method - retains audio synchronization: Often you may want to remove labels from the label track without removing their associated audio, while keeping the remaining labels synchronized with their audio.

    The quickest way to do this is to select any region in the label track that extends beyond the label or labels to be removed (without reaching other labels), then choose Edit > Remove Audio or Labels > Split Delete (or its shortcut CTRL + ALT + K). Any labels lying to right of the removed labels stay where they are, still associated with their original audio.

  • Delete method - loses audio synchronization for labels to right of the delete point: To remove labels or a region of label track so that the following labels move back (leftwards), select over or between labels then choose Edit > Remove Audio or Labels > Delete or its shortcut CTRL + K.

Removing labels together with their associated audio

Another common usage is removing labels (or a region between labels) together with their associated region of audio, but letting the labels following to the right move back (leftwards) so as to maintain audio synchronization - for example, you may have labeled a region of noisy audio for later deletion.

To delete labels in this way, select over or between the labels as required then include the audio track in the selection by dragging upwards into the audio track. Keyboard users can instead press UP then ENTER as described in Selecting using the keyboard. Then choose Edit > Remove Audio or Labels > Delete or its shortcut CTRL + K.

Similarly, if you want to keep labels and audio synchronized when deleting audio to left of a label, you must include the label track in the selection before deleting.

To maintain label/audio synchronization without having to select in both label and audio track, enable Sync-Locked Tracks at Tracks > Sync-Lock Tracks. This feature defines groups of Sync-Locked audio and/or label tracks, such that a length-changing action in one track of the group affects all the others in the group, even if they are not all selected.

Deleting the entire label track

You can also remove all labels at once by deleting the label track entirely. To remove the entire label track and all its labels, click in the label track and choose Tracks > Remove Tracks. Alternatively, click the close button close button in the upper-left corner of the label track.

Label tracks are required for splitting a long recording to separate files using Export Multiple. However labels themselves cannot be included as part of an exported audio file so there is no need to remove label tracks that for example were used for annotation or transcription but are no longer required.


Gale's suggestion from end May (on Talk page)

Removing labels

Labels can be removed (deleted) in a number of ways. Often you may want to remove labels from the label track without removing their associated audio, but also without affecting the relationship of the remaining labels to their audio. The quickest way to do this is to select any region that extends beyond the label(s) to be removed (without reaching other labels), then choose Edit > Remove Audio or Labels > Split Delete (or its shortcut CTRL + ALT + K). This will remove the selected label(s) without moving any labels that lie to right of the removed labels, so keeping those following labels synchronized with their audio.
To remove labels or a region of label track so that the following labels move back (leftwards), select over or between labels then choose Edit > Remove Audio or Labels > Delete or its shortcut CTRL + K. A typical use case is removing the region in the label track together with its associated region of audio, which you can do by including the audio track in the selection. This also keeps the following labels synchronized with their audio.


2.0.3 published version

Removing labels

To remove labels without affecting other labels: Single-click in the text of an individual label, then press the DELETE or BACKSPACE key (as appropriate) on your keyboard until the text is removed. Once the label is empty of text, press DELETE or BACKSPACE once more to delete the label. You can also remove one or more labels without affecting other labels by selecting any region extending over (or at least touching) the label edges(s), then choose Edit > Remove Audio > Split Cut. To remove labels (or regions of label track), affecting the following label(s): You can remove labels or regions between labels by selecting over or between labels, then choose Edit > Remove Audio > Cut or Edit > Remove Audio > Delete. If you remove part of an area inside a region label, this will reduce the length of the label. Labels following to right of the removed labels will always move backwards according to the length of the removed selection. When removing parts of the label track you may often want to remove the corresponding audio too, so that the remaining labels still relate to their original audio. To remove the audio region as well as the label region, either drag the selection upwards to include the audio track or enable Sync-Locked tracks.

A quick way to select and delete the exact area of an individual region label together with its corresponding audio is to single-click in the label text, then press Enter followed by DELETE or BACKSPACE.

You can also remove all labels at once by removing the label track entirely. To do this, click in the track and choose Tracks > Remove Tracks. Alternatively, click the close box in the upper-left corner of the label track.

Like everything in Audacity, any edits to label tracks can be undone by Edit > Undo.