Editing, resizing and moving Labels

From Audacity Development Manual
Revision as of 16:58, 1 October 2019 by PeterSampson (talk | contribs) (Cutting and Pasting Point Labels: typo)
Jump to: navigation, search
Other languages
English
Peter 30Sep19: ToDo-1 we really should reference the Labels Editor page here.
Bill 29May13:Let's leave these Mac images as is. IIRC we opted for the shallower track height given the number of images on the page.
  • Peter 30Sep19: ToDo-1 All the images should be updated - we have to update the context editor section images - and we should seek consistency in the images - ang get them uptodate and W10 images.
Methods for changing labels: moving them, resizing them, changing their text content.

Contents

  1. Changing the length and position of labels with the mouse
  2. Moving a point label
  3. Expanding a point label
  4. Moving and resizing a region label
  5. Adjusting the junction point where two labels meet
  6. Moving a label when there is a selection
  7. Using cut, copy and paste
  8. Using the Context Menu

Changing the length and position of labels with the mouse

You can move a label by clicking and dragging its circle handle. You can change the length of a label by clicking and dragging its triangle handle.

Holding Shift while dragging reverses this behavior, so that dragging a circle handle changes the length of the label, and dragging a triangle handle moves the label. For example, this lets you resize a label by holding Shift while dragging its circle handle, then release Shift to move the resized label without having to move the mouse pointer to its triangle handle.

In the case where two labels meet you can adjust the junction point where they meet by clicking and dragging their shared circle handle.

Moving a point label

You can move a point label by clicking and dragging its circle handle:

PointMoveBefore W10.png PointMoveAfter W10.png
Before After

Expanding a point label

You can expand a point label into a region label by clicking and dragging either of its triangle handles:

PointExpandBefore W10.png PointExpandAfter W10.png
Before After

Moving and resizing a region label

You can move a region label by clicking and dragging either of its circle handles:

RegionMoveBefore W10.png RegionMoveAfter W10.png
Before After

You can change the length of a region label by clicking and dragging one of its triangle handles:

RegionAdjustBefore W10.png RegionAdjustAfter W10.png
Before After

Adjusting the junction point where two labels meet

You can adjust the junction point where two labels meet by clicking and dragging their shared circle handle:

LinkedRegionMoveBefore W10.png LinkedRegionMoveAfter W10.png
Before After

Moving a label when there is a selection

The illustration below shows what happens if you click in a label to select it, press Enter, then move the label.

LabelRegionMove1Before - W10.png LabelRegionMove1After W10.png
Before moving a label with a selection After moving a label with a selection

Contrast this to what happens if you click in a label to select it, then move the label.

LabelRegionMove2Before W10.png LabelRegionMove2After W10.png
Before moving a label when the label is selected After moving a label when the label is selected

Using cut, copy and paste

The following examples of cutting labels with Edit > Cut will move back any labels that follow to right of the removed label(s). To cut the label without moving following labels, use Edit > Remove Special > Split Cut.

Cutting and Pasting Region Labels

You can cut and paste region labels using Edit > Cut and Edit > Paste, but you have to make sure you do not select any audio, or you will end up cutting and pasting audio where you probably did not intend.

In the image below, the label was selected by clicking in it, then the audio track was unselected by Ctrl-clicking in the Track Control Panel's Select button of the audio track (this can also be done with the keyboard by Enter, Up then Enter).

The label was then cut to the clipboard with Edit > Cut:

LabelTrackPrepareToCopy W10.png

To paste the label at a different point in the audio track, either

  1. click in the audio track at the point where you would like the label to begin then shift-click in the label track to select it, or
  2. click in the label track at the point where you would like the label to begin.

The label can then be pasted to that spot using Edit > Paste.

LabelTrackAfterPaste W10.png

Cutting and Pasting Point Labels

To cut and paste a point label to a different location, first select the text of the label as shown below. Note the difference in appearance of selected label text (the text is highlighted separately from the box) versus a selected label (where the entire label box is highlighted).

PointLabelTextSelected.png
  1. Do Edit > Cut (shortcut Ctrl + X) - the text of the label is cut to the clipboard, leaving a label with no text.
  2. Press Delete to delete the label, or right-click in the label and choose Delete Label from the context menu.
  3. Click in the new location for the label and do Edit > Labels > Paste Text to New Label.
PasteTextToNewLabel.png

Using the Context Menu

Peter 30Sep19: ToDo-1 we now have a further command in the context menu Edit which edits the selected label with the Labels Editor.

There is a handy feature where you can select an area of text in a label then right-click to cut, copy or paste over (if there is text currently in the clipboard) that text. This allows you to click in another label, right-click, then paste that text in. So in our example you could select and copy "Question" and then paste it into the appropriate labels without having to type that word every time. The example below shows one way this can be used.

Click in a label, then select the label text. Note the difference in appearance of selected label text (as shown below - the text is highlighted separately from the box) versus a selected label (where the entire label box is highlighted). Right-click in the label:

ContextLabelCopy added Delete.png

Now select the range of audio corresponding to the second question and click on Edit > Labels > Add Label at Selection. Right click (control-click on a Mac) in the new label:

ContextLabelPaste added delete.png

The text "Question" will be pasted into the label, and all you have to type is " 2" to complete the label. Alternatively you could select the range in the label track instead of the audio track, then Edit > Labels > Paste Text to New Label to create the label with that text.


|< Label Tracks