Publish AquaSynth live session state
This commit is contained in:
parent
0da43b9439
commit
a87e5aa4e0
9 changed files with 93 additions and 11 deletions
|
|
@ -16,8 +16,10 @@ architecture. It is a reference ledger for
|
|||
`instrument.open`, `instrument.control`, `instrument.block`, and
|
||||
`instrument.close` execution. It writes compile/session/render/stream/live/
|
||||
operator witnesses, keeps native streaming patch instances for live sessions,
|
||||
releases live sessions without deleting compiled patch witnesses, and emits
|
||||
CultMesh-compatible stream descriptors and packet receipts.
|
||||
rewrites retained `aquasynth.live_instrument_session.v1` state on lifecycle
|
||||
transitions, releases live sessions without deleting compiled patch
|
||||
witnesses, and emits CultMesh-compatible stream descriptors and packet
|
||||
receipts.
|
||||
- `src/AquaSynth.Faust/AquaSynthCultNetDaemon.cs`: local CultNet database host
|
||||
and command watcher. Typed command documents enter the database; typed
|
||||
receipts and provider state come back out.
|
||||
|
|
|
|||
|
|
@ -116,8 +116,8 @@ client can send `instrument.sample`, `instrument.stream`, `instrument.open`,
|
|||
state through the local CultNet database. AquaSynth compiles or opens the
|
||||
instrument, keeps the native streaming patch instance, applies controls,
|
||||
releases live sessions, writes sample/block artifacts and receipts, and
|
||||
publishes the result. The client consumes the capability; it does not become
|
||||
the synth.
|
||||
publishes retained live-session state. The client consumes the capability; it
|
||||
does not become the synth.
|
||||
|
||||
That lets one AquaSynth daemon sit on this machine or another machine in the
|
||||
Verse and serve multiple apps. The same engine can support Fensalir, Eve
|
||||
|
|
@ -296,8 +296,8 @@ should eventually move through a low-latency local transport such as
|
|||
shared-memory rings, platform audio graph nodes, memory-mapped packet buffers,
|
||||
or another fixed-block lane that does not drag filesystem writes or chatty
|
||||
command protocols into the audio callback. The command surface still owns
|
||||
intent, patch lifetime, controls, and receipts. The realtime lane just moves
|
||||
sound fast.
|
||||
intent, patch lifetime, controls, retained session state, and receipts. The
|
||||
realtime lane just moves sound fast.
|
||||
|
||||
That distinction matters. Transport is not authority. A ring buffer should not
|
||||
decide what instrument exists. A renderer should not decide which command
|
||||
|
|
|
|||
|
|
@ -43,6 +43,9 @@ binary lifetime, live instrument handles, control sessions, and sampled outputs.
|
|||
control catalog, architecture target, and lifecycle receipts.
|
||||
- `.aquasynth/sessions/{sessionId}.cc`: live instrument handle, lease, control
|
||||
values, transport state, and teardown receipt.
|
||||
- `.aquasynth/live-sessions/{sessionId}.cc`: retained live session state for
|
||||
the service-owned streaming patch instance: open/closed status, current
|
||||
control values, block size, next sequence, and last command/receipt ids.
|
||||
- `.aquasynth/renders/{renderId}.cc`: offline/live sample outputs, feature
|
||||
measurements, and scoring receipts.
|
||||
- `.aquasynth/speech/{utteranceId}.cc`: Weksa handoff consumption, packed
|
||||
|
|
@ -116,7 +119,9 @@ invent a separate truth for compiled products or control state.
|
|||
`instrument.control`, `instrument.block`, and `instrument.close` envelopes.
|
||||
These live commands keep and release service-owned native streaming patch
|
||||
instances; closing a live session does not delete the reusable compiled patch
|
||||
witness.
|
||||
witness. Each lifecycle transition also rewrites
|
||||
`.aquasynth/live-sessions/{sessionId}.cc` so clients and operators can inspect
|
||||
the current session truth without replaying receipts.
|
||||
- `cultnet-host`: starts a local CultNet host/database for AquaSynth command and
|
||||
receipt documents, publishes `aquasynth.cultnet_provider.v1`, and watches
|
||||
typed command records until the process is stopped.
|
||||
|
|
|
|||
Loading…
Reference in a new issue