Regular Interval Labels

From Audacity Development Manual

Jump to: navigation, search

Regular Interval Labels places point labels in a label track so as to divide the associated audio into smaller, equally-sized segments. This can be useful for distributing a large file on the internet or ensuring that all exported files are the same size.

You can either choose the number of labels to be created or the interval between them. Each label produced can contain specified label text and the labels can be given sequential numbers before or after the text.

Accessed by: Analyze > Regular Interval Labels...
Regular interval labels dialog W10 correct capitalization.png
After running "Regular Interval Labels", you can choose File > Export Multiple... to export all the files in one process based on the label points.

Use "Number of labels" OR "Label interval"

This enables you to choose the label placement method:

To create a chosen number of labels within the selection, select Number of Labels  MenuDownArrow.png from the dropdown (this is the default setting).

To place labels within the selection a chosen distance apart, select Label Interval  MenuDownArrow.png from the dropdown then enter that distance in Label interval (seconds).

Number of labels

If you selected Number of Labels  MenuDownArrow.png (the default) then your specified number of labels (default is 10) will be created. The number can be changed by typing in the input box, the allowed range is between 2 and 1000 labels.

Label interval

If you selected Label Interval  MenuDownArrow.png then the labels will be placed at your specified interval within the selected audio. The default interval is 60.0 seconds. The allowed range is between 0.001 and 3600 seconds.

Adjust label interval to fit length

This only operates if you have chosen the Label interval placement method. Number of Labels  MenuDownArrow.png

If you select Yes  MenuDownArrow.png from the dropdown for this control, it adjusts your chosen label interval if necessary to make all the audio segments of equal length, including the final segment between the last label and the end of the selection.

When set to No  MenuDownArrow.png, the interval between labels will be exactly the length specified in the Label interval control, but the final segment from the last label to the end of the selection may be different (depending on whether the selection length is exactly divisible by the specified interval duration.


When Number of Labels  MenuDownArrow.png is selected, the label interval will always be the length of the selection divided by the number of labels, irrespective of this setting.

The default setting for this control is No  MenuDownArrow.png.

Label text

The text that will be included in each label. The default setting is Label but this can be replaced by any text (or no text) by using the input box.

The label text may include spaces and/or punctuation characters, but note that if you intend to use the labels with Export Multiple, some characters may not be valid for file names.

Minimum number of digits in label

Choose the minimum number of number of digits in the label numbers and whether the number is placed before or after the label text. The default setting is 2(before label)  MenuDownArrow.png. With that setting, if you had 10 labels with "Label" as the label text, the first label would be "01Label", the next "02Label" and the last would be "10Label".

If you select None - text only  MenuDownArrow.png then no numbering will be applied to the labels. If you choose this and set no label text then you will produce a set of empty labels.

Begin numbering from

If a minimum number of digits has been chosen in the control above, enter the number from which the sequential numbering will start. The default value of 1 can be changed by typing in the input box. You can enter any whole number equal or greater than 0.

The number of digits actually produced in the label is determined by your choice in Minimum number of digits in label above. For example, if you type "10" in Begin numbering from and your minimum number of digits is 3, then the first label will be numbered from "010".

The buttons

Clicking on the command buttons give the following results:

  • Manage gives a dropdown menu enabling you to manage presets for the tool and to see some detail about the tool. For details see Manage presets.
  • Debug applies the effect to the selected audio with the current effect settings, but unlike OK the effect runs in debug mode. This is primarily of use when writing or editing Nyquist plug-ins.
    • In addition to the normal plug-in behavior, a "debug window" opens to display error messages, normally the debug window will be empty.
  • OK applies the effect to the selected audio with the current effect settings.
  • Cancel aborts the effect and leaves the audio unchanged.


Links

|< Index of Effects, Generators and Analyzers

|< Analyze Menu

Views

Donate securely by PayPal, using your credit card or PayPal account!

Useful External Links