label_regular_intervals
Add evenly spaced labels across a specified duration using interval and total length, with optional prefix. Automates marker placement for audio timelines.
Instructions
Add labels at regular intervals across a known duration.
There is no C++ primitive to query project/selection duration yet, so the caller must supply it explicitly (e.g. from project_export_audio's or an analysis tool's measured length) rather than this tool guessing.
Args: interval: Spacing between labels, in seconds (> 0). duration: Total duration to cover, in seconds (> 0). text_prefix: Text prefix for each label; each gets a "N" suffix, 1-based. Default: "Marker"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration | Yes | ||
| interval | Yes | ||
| text_prefix | No | Marker |