The project's README from github.com/jamesondh/chimera-vocal-synth. As one markdown file: README.md.
A physical-modeling voice synthesizer in the browser. Every sound comes from a simulated
airway (lungs, vocal folds or syrinx, a branched vocal tract, lips, nose), not from samples.
The engine is Rust, compiled to WebAssembly for an AudioWorklet; the same code runs natively
for tests and the chimera CLI.
chimera render speech prints the same as warnings).?show=<id>): two 3D heads replay a pre-rendered song.Male, female and child bodies blend continuously. Everything on screen animates from live engine state: pressure in the airway, airflow, the vocal folds, spectra and formants.
Needs Rust with the wasm32-unknown-unknown target, and Bun.
bun install
bun run dev # builds the wasm, then Vite on 127.0.0.1:5317
bun run test # wasm build, cargo test --workspace, bun test tests
The AudioWorklet needs a secure context, so open it on localhost or over HTTPS (for example
tailscale serve). Vercel builds it with vercel.json.
Early: a CLAP, VST3 and AU instrument for macOS, and CLAP and VST3 for Windows, with the same UI in a webview, in a window you can resize. On Linux (CLAP and VST3) the same UI opens in your web browser. MIDI notes sing the lyrics, one syllable per note (Sing); play the posture you've set (Play); say the next line of text (Speak); or play mouth drums and hum, with a beat that follows the host's tempo (Beatbox). Everything saves with the project, and the voice parameters can be automated.
On a Mac (signed and notarised) or on Linux (x86_64), the release installs with one command (or download it from chimera.audio/plugin):
curl -fsSL https://chimera.audio/install.sh | sh
To build it yourself, with Xcode's command line tools as well as the above:
crates/chimera-plugin/macos/build.sh --install
Or, with GitHub's gh logged in, install CI's newest build without building anything:
crates/chimera-plugin/macos/update.sh
To build it on Linux: crates/chimera-plugin/linux/build.sh --install. On Windows, in Git Bash with
Rust's MSVC toolchain: crates/chimera-plugin/windows/build.sh --install. The Windows build isn't
released yet. See docs/plugin.md, "Releases".
Offline renders and measurement:
cargo run --release -p chimera-cli -- render speech|text|song|notes|beatbox|creature|vowels …
cargo run --release -p chimera-cli -- diagnose # nasal leakage, formants, bandwidths, pitch
cargo run --release -p chimera-cli -- compare csd # against a real singer (docs/csd-comparison.md)
cargo run --release -p chimera-cli -- compare tsp # against 23 real speakers (docs/speech-comparison.md)
bun tools/spectrogram.ts in.wav out.png
bun tools/musicxml-to-notes.ts score.mxl P1 --out p1.json # a score's part → `render notes` melody
Contributing: see CONTRIBUTING.md. Agents: see AGENTS.md.
MIT. Bundled third-party files keep their own licenses: the CMU Pronouncing Dictionary (public/data/CMUDICT-LICENSE.txt), the fonts (public/fonts/) and the body rig's mesh (CC0, MakeHuman and MPFB2: docs/rig.md).