Expand description
Shared vocabulary of SECS 2R.
Domain types (roles, settings, the signal-chain value), error codes, the
IPC types and the one atomic file writer (fs) live here, so the service, the app, the CLI and the screen agree
on one definition. Types the screen sees derive ts_rs::TS; their
TypeScript bindings are generated into apps/secs2r/ui/src/ipc/bindings
whenever this crate’s tests run, and CI fails when the committed copy
differs (docs/adr/0003).
Modules§
- calibration
- User-visible calibration settings and their mode-derived engine values.
- chain
- The designed DSP as one value: what the engine produces and what the
response simulator (
secs-engine) and the CamillaDSP writer (secs-camilla) read (docs/ARCHITECTURE.md §4, docs/ENGINE.md §2). - compute
- Application-local compute selection and actual-run provenance.
- fs
- Atomic file replacement shared by every writer (#92 TD-74).
- ipc
- IPC between the screen and the service.
- local_
api - Shared wire contract for the opt-in local HTTP and WebSocket API.
- role
- Speaker-role vocabulary shared by project files and later service layers.
- rules
- Service rule values the screen shows and the mock service reuses (ADR 0014).
- settings_
edit - Wire-compatible edits from the calibration screen. Rules live in secs-service.
- target
- Target curve: control points joined by a smoothstep in log frequency.