tempo_add_marker
Add tempo and time-signature markers at precise time positions, with options for instantaneous or linear BPM transitions.
Instructions
Add a tempo and/or time-signature marker at a given time.
Args: position: Time in seconds (>= 0). bpm: New BPM at this marker. 0 = inherit from previous. time_sig_num: Numerator (e.g. 3 for 3/4). 0 = inherit. time_sig_denom: Denominator (e.g. 4 for 3/4). 0 = inherit. linear: True = smooth BPM ramp to the NEXT marker; False = instant change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| position | Yes | ||
| bpm | No | ||
| time_sig_num | No | ||
| time_sig_denom | No | ||
| linear | No |