How ges233/equinoxeditor works
Equinox is a singing-synthesis editor built around the Neume kernel. The main workflow is editing a project, checking and resolving interventions, then analyzing and rendering vocal tracks through a selected runtime; rendered tracks can be mixed into output. Coconut owns editing state and serialization, Neume supplies editor/runtime contracts and shared render semantics, and the DiffSinger adapter supplies voicebank analysis and synthesis. The web and Neumu layers provide interaction and project sessions. Some integration calls are not shown in the excerpts, so those links are marked unverified rather than asserted.
Main entry points: worker.py Python worker · pipeline.ex DiffSinger pipeline · editor.ex Editor · coconut.ex Edit state
Components 26
Editing core
- Edit state
apps/coconut/lib/coconut.ex - Workspace
apps/coconut/lib/coconut/edit/workspace.ex - Edit history
apps/coconut/lib/coconut/edit/history.ex - Note operations
apps/coconut/lib/coconut/edit/operations - Score model
apps/coconut/lib/coconut/score/note.ex - Serialization
apps/coconut/lib/coconut/pickle/command.ex - Render resolve
apps/coconut/lib/coconut/render/resolve.ex - Engine dispatch
apps/coconut/lib/coconut/render/engine.ex
Neume kernel
- Editor
apps/neume/lib/neume/editor.ex - Pin semantics
apps/neume/lib/neume/pin/context.ex - Output intervention
apps/neume/lib/neume/output_pipeline.ex - Track mixing
apps/neume/lib/neume/mix_pipeline.ex - Mock renderer
apps/neume/lib/neume/engine/mock_pipeline.ex
DiffSinger runtime
- Coconut-Oi adapter
apps/coconut_oi/lib/coconut_oi/orchid_adapter.ex - DiffSinger pipeline
apps/neume_opu_ds/lib/neume_opu_ds/pipeline.ex - Voicebank manifest
apps/neume_opu_ds/lib/neume_opu_ds/voicebank/manifest.ex - Python worker
apps/neume_opu_ds/priv/diffsinger/worker.py - G2P
apps/neume_opu_ds/priv/diffsinger/g2p.py - Phoneme alignment
apps/neume_opu_ds/priv/diffsinger/alignment.py - OpenVINO session
apps/neume_opu_ds/priv/diffsinger/openvino_session.py
Project sessions
- Project server
apps/neumu/lib/neumu/project_server.ex - Project snapshot
apps/neumu/lib/neumu/project_snapshot.ex - Artifact store
apps/neumu/lib/neumu/artifact_store.ex
Web interface
- Project channel
apps/equinox_web/lib/equinox_web/project_channel.ex - Editor board
apps/neume_lab/lib/neume_lab/board/main.js
Other components
- Editor user
Connections 25
- Editor user → Project channel: edits project
- Project channel → Project server: project commands
- Project server → Project snapshot: uses snapshots
- Editor → Edit state: uses edit model
- Edit state → Workspace: owns state
- Workspace → Edit history: tracks edits
- Workspace → Note operations: applies edits
- Note operations → Score model: changes notes
- Edit state → Serialization: serializes state
- Editor → Pin semantics: uses pin contracts
- Editor → Render resolve: checks interventions
- Render resolve → Engine dispatch: dispatches render
apps/coconut/lib/coconut/render/engine.ex - Engine dispatch → DiffSinger pipeline: selects runtime
- Engine dispatch → Mock renderer: selects mock
- Coconut-Oi adapter → DiffSinger pipeline: adapts intervention
- DiffSinger pipeline → Voicebank manifest: loads manifest
- DiffSinger pipeline → Python worker: executes synthesis
- Python worker → G2P: uses G2P
apps/neume_opu_ds/priv/diffsinger/worker.py - Python worker → Phoneme alignment: uses alignment
apps/neume_opu_ds/priv/diffsinger/worker.py - Python worker → OpenVINO session: uses session
apps/neume_opu_ds/priv/diffsinger/worker.py - Output intervention → Pin semantics: applies pins
apps/neume/lib/neume/output_pipeline.ex - Track mixing → Artifact store: stores output
- Project server → Artifact store: stores artifacts
- Project channel → Editor board: updates interface
- Editor board → Editor user: shows edits