pm-synth: a polyphonic drum-voice synth, a faithful f32 port of engine.js DRUMS (tone/ampEnv/v_noise/metalHat/clap recipes; RBJ biquads; exp envelopes). A Synth mixes active Voices sample-by-sample (transport-agnostic: offline render now, real-time device buffer fills later). All 808/909 + GM voices ported. synthrender (host bin): parse a groove -> track-format schedule -> trigger voices at click times -> 16-bit/48k mono WAV. Applies the editor default kit (kick-> kick909 etc.). Renders four demo grooves to audition off-bench. This is the reusable half of the audio feature; the device port (no_std + fixed-point/table osc, since the M0+ has no FPU) comes with the transport. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| assets/bravura | ||
| glyphgen | ||
| pm-grid | ||
| pm-kit | ||
| pm-synth | ||
| pm-ui | ||
| synthrender | ||
| track-format | ||
| uisim | ||
| .gitignore | ||
| Cargo.toml | ||
| Containerfile | ||
| probe-flash.md | ||
| README.md | ||
| run.sh | ||
Rust port — track-format crate (Stage 1)
Pure parse/serialize codec for the track DSL, validated against the shared golden
vectors (tests/fixtures/track-format.json) — the third implementation alongside
engine.js and app.py. See docs/rust-port.md for the staged plan.
All tooling runs in a container (per the develop-in-container rule):
./rust/run.sh # cargo test — runs the conformance + idempotency suite
./rust/run.sh cargo build
./rust/run.sh bash # interactive shell in the crate