label_edit
Update an existing label's text or timing in Audacity. Pass the label index and new values for text, start, or end; only specified fields change.
Instructions
Edit an existing label's text and/or timing. Only the fields you pass are changed.
Get the index from label_list. Renaming a label is label_edit(index, text="..."); moving one of its boundaries is label_edit(index, start=...).
Args: index: Flat label index from label_list text: New label text. Default: unchanged start: New start time in seconds. Default: unchanged end: New end time in seconds. Default: unchanged
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| text | No | ||
| index | Yes | ||
| start | No |