Repository navigation
reference fx lifecycle
Working manual · 0.0.1-alpha · source snapshot 16 November 2026
This contract supersedes the former physical-column cancellation rules. Command names, wire IDs, byte values and the three-slot UI remain unchanged. Runtime state is never serialized into a preset or project. Existing files remain readable; songs relying on implicit column cancellation deliberately play differently under this lifecycle correction.
| Commands | Lifetime / behaviour | Owner and termination |
|---|---|---|
| ARP, PBN, VIB | NOTE / CONTINUOUS | Current track note group. New note, release, cut, voice loss or playback reset clears them. ARP 00 and VIB zero depth neutralise; PBN 00 retains its existing hold-offset meaning. |
| SLD | NOTE / CONTINUOUS | Continuing note group. Retargets from the reached pitch, clears unrelated old modulation, completes at its destination and retains that pitch offset. A new note interrupts or retargets it. |
| CRD / INV / SPR | TRACK / ONESHOT | Latch chord type, inversion and spread for subsequent triggers; reset on playback reset. Generated voices release/cut with their note group. See chord FX (repository reference: chord-fx.md). |
| RET | NOTE / SCHEDULED | Current group, repeating in musical ticks across blank rows. RET 00, new note, note termination, voice loss or reset stops it. A retrigger belongs to the same group and does not restart GAT. |
| DLY, MTM | ONESHOT / SCHEDULED | One row's onset. Last DLY/MTM write wins; out-of-row delays suppress the onset. Completion or a later row/reset invalidates the pending event. |
| GAT | GATE / SCHEDULED | Current note generation. Musical-tick deadline survives blank rows. Release wins over a coincident retrigger. Replacement notes cancel the old gate. |
| OFF | ONESHOT / SCHEDULED | Current note generation, offset measured from row start. Releases envelopes, never clears shared processors. |
| VOL, PAN | PERSIST / ONESHOT | Track playback gain/pan until a matching write or track/playback reset. |
| SB1–SB4 | PERSIST / ONESHOT | Absolute sends. Sample path is track-scoped; synth path latches track and synth identity. Notes do not reset sends. |
| SBR | ONESHOT | Releases retained send overrides authored by that physical column, across buses. Value byte remains ignored. |
| POS, REV, SLC | NOTE / ONESHOT | Applied at the owning sample trigger only. New notes use defaults unless explicitly overridden. FX-only rows do not reposition voices. RET retains the owning note's trigger configuration. |
| CUT, RES | PERSIST / ONESHOT | Selected instrument context filter overrides; notes/retriggers preserve them. Matching writes, a different instrument selection or track/playback reset replace them. Audible response depends on filter model. |
| TMP | PERSIST / ONESHOT | Shared transport BPM until another TMP or playback reset. Byte 00 still means 256 BPM. |
| GRV | TRACK / ONESHOT | Authored by a track, controls the existing shared groove clock. Next GRV/playback reset replaces it. Selects groove slot 00–1F; legacy even-tick commands migrate during load (CTP v36). |
| CHN, NTH | ONESHOT | Evaluated once per authored row/event. Conditions gate note-scoped actions only; persistent writes still execute. |
| TBL | TRACK / CONTINUOUS | Explicit track Table until another TBL, TBL FF, track stop/disable or playback reset. Normal note changes and sequence wraps preserve it. |
| TIC | PERSIST / ONESHOT | Track Table divider (01–FF), inherited by new voices. A new TIC or track/playback reset replaces it. Table-local TIC uses the Table's own context. |
| HOP | ONESHOT | Deferred local sequence operation, clamped to the Chain or Table range. At most one boundary transition; no zero-time recursive loop. |
| REP | TRACK / CONTINUOUS | One signed delta per Phrase row, starting immediately. Continues across notes and blanks. REP 00, new REP, direct write to the repeated target or track/playback reset stops/replaces it. Saturates at target range. |
| SCL | PERSIST / ONESHOT | Track scale until another SCL or track/playback reset. |
| INS | PERSIST / ONESHOT | Instrument context until next selection or track context reset. Existing Chain-boundary instrument-memory reset remains. |
| PRE | PERSIST / ONESHOT | Instrument-context audio/VIS working-preset selection. Compatible held voices update without retrigger; MORPH TICKS controls the transition. Requires an available in-memory slot. |
| P1A–P4D, V1–VF | PERSIST / ONESHOT | Instrument-context runtime modulator/register values until the same address is written, a different instrument is selected or track/playback reset. Saved definitions are unchanged. Backend support remains model-dependent. V registers remain hidden compatibility commands. |
| BNK | Reserved | Retained in files/picker, unavailable in playback. No parameter-bank switching is fabricated. |
Fresh bind/Stop/explicit transport Jump resets runtime FX, random streams and Table instances. Pause freezes them; resuming the engine itself preserves state. The application can instead prepare a fresh cursor-based start, as documented in the transport workflow. Normal Chain/Song boundaries terminate note groups but retain applicable persistent parameters, REP, explicit track Tables and random state. An actual change of instrument identity resets instrument parameter overrides; a boundary alone does not. Track Stop clears its state without clearing shared DSP processors.
NTH starts at phrase pass one, including playback starting partway through a Phrase. Entering local step 00 advances the counter, including a HOP back to 00, normal Phrase loops and Song/Chain transitions. It is not incremented per audio buffer. A fresh playback reset restarts it; live edits and pause preserve it. Random parameter values and chance use the existing per-track seeded stream; SED can reseed it explicitly.
DLY/MTM remain the existing unsigned byte encodings. MTM is value/256 of the current step, so no value represents early/negative microtiming. Reinterpreting 80–FF as negative would break saved music; no such reinterpretation or retroactive triggering is introduced. A future negative-offset encoding must use bounded lookahead and a separately specified compatible representation.
The old parser had no explicit Table-stop value: 00–FE were valid IDs. FF is now accepted as explicit stop without changing the byte layout or existing IDs. REP previously performed only one delta; it now continues per row, with 00 as an explicit stop retaining the reached value. These changes extend runtime semantics without changing file containers.
SBR has always ignored its value and released a column's send override. It does not select a release-envelope send amount. There is no separate encoded per-voice release-send override in the current format. Synth voices are summed by track and instance before runtime sends; shared return gains remain processor/mixer settings. Note-off, instrument changes and send zero do not clear delay/reverb buffers. Explicit transport Stop retains its existing full-audio reset behavior.
The existing shared clock still owns tempo and groove. Commands on the same row resolve in ascending track order and then FX-column order; the latest authored write persists, rather than older retained columns reasserting themselves. Muted tracks still execute these timing commands.
See the pre-change audit (repository reference: fx-instrument-audit.md) for sections 8–15, compatibility conflicts and implementation results. CUT, RES, PRE, P1A–P4D and legacy V registers now reset on a different selected instrument. Old voices retain compact parameter snapshots; release voices cannot read the replacement context. Instrument-target REP also stops on that change. Track volume/pan, sends, scale and Table timing retain their established scope.
Row order is: shared timing, per-event conditions and INS resolution, instrument-context reset, REP and persistent writes in column order, delayed onset preparation, old note termination, new group trigger, continuous/scheduled note processing, rendering and routing. Delayed onset does not execute persistent writes again. PRE addresses the working bank and updates compatible held voices; release tails retain their last numeric configuration. See preset banks for timing, structural transitions and prepared seek checkpoints.
Follow-up validation: desktop Debug build succeeded and all 12 selected tests passed, including oscillator release-voice isolation. See the follow-up audit for exact commands, test groups, fixture corrections and remaining compatibility limits.
The additional command contract (repository reference: fx-command-additions.md) defines KIL, ARC, SED, RTO, TBX, THO and RNU. It supersedes the earlier RND pitch behavior with random FX parameter values.
| Documentation still to add |
|---|
| Annotated current-build screenshots and a recorded controller walkthrough for this topic. |
Repository sources used for this page:
docs/fx-lifecycle.md
This is a documentation/source review, not a new runtime or hardware test. Physical response, screenshots and listening examples still need verification on a recorded build.