set_time_signature
Add, update, or remove time signature marks to align the grid with your music, fixing MIDI imports missing meter info. Use before position-based work for accurate measure and beat mapping.
Instructions
Add, update or remove time signature marks so SV's grid matches the music (useful after importing MIDI without meter information; see get_phrases for inferring the real meter from the notes). Removals are applied before additions. NOTE: this changes how measure/beat positions map to time for every other tool, so set signatures before doing position-based work. One undo step. Returns the resulting signature list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| marks | No | Signature marks to add or update | |
| remove | No | 1-based measure numbers whose marks should be removed |