Update Live Session
update-sessionOnly for a live session. Swaps new code into the session's player while the music keeps playing. Send the WHOLE pattern, as for play-live-pattern. It lands on the next bar (quantize 1, the default), the next multiple of n bars, or at once (0): set quantize to your phrase length (8-bar phrase → 8). If the player answers within a few seconds, the result says whether it ran the code, or its error. To change a piece's remember() state, ship a merge, not a new start value (get-strudel-guide topic 'interactive').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The complete new Strudel pattern (same rules as play-live-pattern's code). | |
| session | Yes | The session id from play-live-pattern's result (16 lowercase letters/digits). | |
| quantize | No | Land on the next multiple of this many cycles (bars). 1 = next bar (default), 4/8 = phrase, 0 = now. |