Don’t composepieces.Build systems.

A generative instrument written in Rust: layers, seeds and evolution with a sonic identity of its own.

Project statusM0 — Foundation
27 Requirements56 Scenarios8 Decisions
Trajectory
  1. M0Foundationin progress
  2. M1First Soundplanned
  3. M2Generative Runtimeplanned
  4. M3Agentplanned
  5. M4Instrumentplanned

Build by ear, not by faith

Every stage ends at a verifiable gate. If the sound does not convince, the engine is fixed before features are added. The first stage is specified in OpenSpec; the rest is sequence, not promise.

M0Foundation1 sliceIn progress

GateRevisión de arquitectura y specs

  • 001Workspace, límites y CI
M1First Sound5 slicesNot started

GateTres renders de referencia y 30 min sin glitches

  • 002Fundación de audio
  • 003Síntesis de voz
  • 004Sistema de parámetros
  • 005Espacio y carácter
  • 006Documento de patch
M2Generative Runtime5 slicesNot started

GatePieza de 10 minutos con identidad

  • 007Reloj y scheduler
  • 008Generadores I
  • 009Generadores II
  • 010Evolución
  • 011Composición y escenas
M3Agent4 slicesNot started

GateIntención musical a patch reversible

  • 012API de agente
  • 013Transacciones
  • 014Deshacer y rehacer
  • 015Adaptador MCP
M4Instrument4 slicesNot started

GatePlugin validado en hosts objetivo

  • 016Plugin VST3 / CLAP
  • 017MIDI
  • 018Performance
  • 019Presets

Real status as of 22 November 2026. Zero audio code written: the first task is the workspace.

What the instrument promises

Six decisions that separate a generative system from a synthesizer with a randomize button.

01

Real time, no excuses

The audio callback does not allocate, take locks, perform I/O or panic. Everything else happens outside it.

02

Determinism by seed

Same seed, same state, same audio. Offline renders are compared by hash, not by ear.

03

Generative first

The generative engine emits musical events, not samples. It has state, relationships and a change budget so identity survives.

04

Independent domain

The domain knows nothing about audio, UI or language models. Infrastructure implements ports, never the reverse.

05

Transactional agent

It inspects, proposes, validates, auditions and reverts. It never mutates live state on its own.

06

One engine, two formats

Standalone first; plugin later. The same runtime, without a second hidden architecture.

Exploring emergent sound

Sound is not written note by note. It emerges from repeating layers, inherited seeds and rules that limit how much a piece may change before it stops being itself.

Each line is a layer with its own pattern; the scanning pulse lights its events. The shape is not drawn: it is computed.
  1. 01

    Layers

    Each voice is a lamella: oscillator, filter, envelope. Timbre appears in how they overlap, not in any one of them alone.

  2. 02

    Seeds

    One seed per generator, derived from a master. The same seed returns the same piece; changing it is a decision, not an accident.

  3. 03

    Budget

    Evolution has a change limit per bar and a memory of the motif. Without a budget, chance erases identity.

No audio yet. The first M1 gate requires three reference renders; when they exist, this section will play them.

Layers that point inward

Clean Architecture, with one explicit exception: real-time audio is not a use case. The control plane is separated from the data plane, and that boundary is designed as its own contract.

PresentationStandalone app, plugin. Commands and view models. Zero DSP.
ApplicationUse cases, ports, transactions, validation.
DomainPatch, composition, performance, parameters. No external dependencies.

Presentation → Application → Domain. Dependencies point downward.

Infrastructurecpal, files, MIDI, MCP. Implements ports defined inward.

The domain imports nothing from outside. When an outer layer is needed, the dependency is inverted.

See the dependency graph ↗

The instrument, still on the drawing board

There is no binary and no real capture yet. These are concept mockups of the visual direction: they exist to discuss hierarchy and density, not to claim the app ships.

ConceptInstrument view: transport, macros and state readout.
Instrument view: transport, macros and state readout.
ConceptPatch editor: typed nodes, modulation and parameters.
Patch editor: typed nodes, modulation and parameters.

Contracts before code

Every behaviour is written as an OpenSpec requirement with verifiable scenarios. If the implementation changes without changing what is observable, the spec does not move.

27Requirements
56Scenarios
8Decisions
What a spec contains
  1. 01Objective and scope
  2. 02Explicit non-goals
  3. 03Normative requirements
  4. 04Verifiable scenarios
  5. 05Acceptance criteria
A real example

Real-time callback contract

The audio callback must complete its work without allocating memory, acquiring locks, performing I/O, compiling the graph or panicking, with bounded cost per block.

  • WHENthe callback processes 10,000 blocks with changing parametersTHENthe allocation counter stays at zero
  • WHENa parameter arrives as NaN or infinityTHENit is replaced by a safe value and the output stays finite
Read the OpenSpec changes ↗

The instrument does not exist yet. The architecture does.

If real-time audio, generative composition or agents that do not corrupt state interest you, the repository is open and the roadmap can be audited.