transport
Transport and project timing: play, stop, pause, record, set_cursor, set_time_selection, set_tempo (the project's base tempo), plus the tempo map: get_tempo_markers, set_tempo_marker (a tempo and/or time-signature change at a position; a…
Instructions
Transport and project timing: play, stop, pause, record, set_cursor, set_time_selection, set_tempo (the project's base tempo), plus the tempo map: get_tempo_markers, set_tempo_marker (a tempo and/or time-signature change at a position; a time-signature change needs a bar position; index edits an existing marker) and delete_tempo_marker. Mutations run in an undo block (Ctrl/Cmd+Z reverts).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bpm | No | ||
| end | No | Position object, e.g. {"type":"cursor"}, {"type":"bar","bar":33}, {"type":"time","seconds":12.5}, {"type":"marker","name":"Chorus"}, {"type":"region","name":"Verse 1"}, {"type":"time_selection"} | |
| clear | No | set_time_selection: clear it. | |
| index | No | set/delete_tempo_marker: an existing marker's index from get_tempo_markers. | |
| start | No | Position object, e.g. {"type":"cursor"}, {"type":"bar","bar":33}, {"type":"time","seconds":12.5}, {"type":"marker","name":"Chorus"}, {"type":"region","name":"Verse 1"}, {"type":"time_selection"} | |
| action | Yes | ||
| linear | No | set_tempo_marker: ramp to the next marker. | |
| dry_run | No | Preview: return what would run without changing the project. | |
| position | No | Position object, e.g. {"type":"cursor"}, {"type":"bar","bar":33}, {"type":"time","seconds":12.5}, {"type":"marker","name":"Chorus"}, {"type":"region","name":"Verse 1"}, {"type":"time_selection"} | |
| numerator | No | set_tempo_marker: time signature top (with denominator). | |
| seek_play | No | ||
| denominator | No | set_tempo_marker: 1, 2, 4, 8, 16, 32 or 64. | |
| length_bars | No |