transport_set
Change FL Studio transport settings like playback, recording, tempo, and loop mode by setting absolute states in a defined order with verification.
Instructions
Change playback, recording, tempo, loop mode, and other transport settings.
Set only the fields to change; each is an absolute state, never a toggle.
Requires write mode. Writes run in a fixed order so one call can stop,
adjust, and restart: stop/pause and recording-off first; then tempo, time
signature, loop mode, metronome, precount, and position; then recording-on;
then playback last. Each write gets its own later-tick receipt, and
verified is true only when all of them verified. Non-atomic: earlier writes
remain if a later one fails. Read the current state with
project_get_summary. Does not save the project.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stop | No | Stop playback and rewind to the start, like FL's Stop button. Not combined with playing or position_normalized. | |
| playing | No | Absolute playback state: true plays, false pauses in place. | |
| precount | No | Absolute count-in-before-recording state. | |
| loop_mode | No | Pattern or Song mode. | |
| metronome | No | Absolute metronome state. | |
| recording | No | Absolute transport record-arm state. | |
| tempo_bpm | No | Project tempo in BPM. FL needs playback stopped and recording off. | |
| expected_before | No | Optional current values from project_get_summary for the settings this call changes; refuse if any changed. Guards for unchanged settings are refused. | |
| position_tolerance | No | Maximum position readback error; defaults to 0.0001. Only with position_normalized. | |
| stop_on_unverified | No | Skip the remaining writes after the first write whose readback did not verify. An unknown outcome always stops the sequence. | |
| position_normalized | No | Playhead position, 0 start to 1 end. FL needs playback stopped. | |
| session_fingerprint | No | Optional session_fingerprint from a recent read. The call refuses after a bridge reload or a reported project load. This is a concurrency guard, not authentication or a durable project identity. | |
| time_signature_numerator | No | Beats per bar. FL exposes no denominator. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | ||
| verified | Yes | ||
| warnings | No | ||
| completed | Yes | ||
| applied_at | Yes | ||
| project_saved | No | ||
| skipped_count | Yes | ||
| skipped_steps | No | ||
| schema_version | No | 1.0 | |
| stopped_reason | No | ||
| attempted_count | Yes | ||
| requested_count | Yes | ||
| rollback_attempted | No | ||
| stop_on_unverified | Yes | ||
| session_fingerprint | Yes | ||
| automatic_replay_attempted | No | ||
| one_session_preflight_completed | No |