playback
Controls the current Strudel session's transport to start, pause, or stop the editor pattern, allowing mid-cycle resume after pausing.
Instructions
Control transport on the current session. action=play starts the editor pattern. action=pause halts the clock where it is, so play resumes mid-cycle. action=stop ends playback. Example: playback({ action: "play" }). For pattern editing use edit_pattern; for tempo use set_tempo.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Transport action | |
| session_id | No | Optional session ID (#108). Omit to use default session. |