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"
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"interval": "<interval>",
"duration": "<duration>"
},
"name": "label_regular_intervals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration | Yes | ||
| interval | Yes | ||
| text_prefix | No | Marker |