Instruments

Instruments builds playable software instruments as audio plugins in Rust (CLAP, written directly with clack; VST3 and AU later through clap-wrapper). Some instruments contain a learned model — a state-space model (SSM) or similar — that is trained in Julia on recorded samples and run in Rust inside the real-time audio thread. Julia and Rust share nothing at runtime but a model file (weights + manifest) and a set of golden test vectors. This vault is the project’s design memory: one page per topic.

Status

First project: a piano made purely by physical modelling (Spec 001), explained step by step in the piano series. Then an electric piano, a Hammond organ and a pipe organ the same way; last, a synthesizer (oscillators, modulators, SSMs) as a second variant of each instrument, with a UI for editing its blocks (Roadmap). No code yet; next steps: Status.

Start here

  1. Status — the handover: what was last done, what comes next
  2. Roadmap — the two projects and their milestones
  3. Piano series — how a piano makes sound and how we model it, from the ideal string to the full instrument
  4. Overview — the system and the repository layout in one page
  5. Plugin formats — CLAP, VST3, AU, LV2, the Rust frameworks, and why not C
  6. Model pipeline — training in Julia, inference in Rust, and how the two agree
  7. Toolchain — the Nix flake, Julia from the system or from Nix
  8. Decisions — all ADRs with their status

Areas