P2b: offline WAV render of the arrangement
This commit is contained in:
@@ -172,3 +172,7 @@ The Tauri app starts the same host in-process, so the wire contract is unchanged
|
||||
## P2a additions
|
||||
|
||||
`State` adds `arrangement: Pattern[]` (four sections in this phase) and `active_section: u8`; `State.pattern` is the active section. Commands `select_section { index }`, `clear_section { index }`, `copy_section { from, to }`; event `arrangement { sections, active }`. Pattern step/face commands edit the active section. The project row stores `arrangement` and `active_section`; old projects with only `pattern` are migrated to four copies of it.
|
||||
|
||||
## P2b additions
|
||||
|
||||
`Command::render` (no arguments). The host renders the current arrangement to a WAV in the project, answers with the unchanged state, and broadcasts `rendered { path, duration_sec }`. The render is not journaled and does not push undo. The file is 48 kHz stereo 32-bit float.
|
||||
|
||||
Reference in New Issue
Block a user