No description
Phase 3 (L17). The midi/osc/vcv transports each carried their own copy of the status plumbing, throttle gate and lastSent management; the inputs layer already had this factored out as BaseSource, so BaseBackend mirrors its shape rather than inventing a second convention. AUDIT CORRECTION: L17 says "all four" backends duplicate lastSent. Only three do. The uSEQ CV backend has a genuinely different frame-level dead-zone (an Int32Array over 14 channels plus gate bits) and no per-output lastSent, so it takes the status half only — forcing it into the shared per-output path would have needed a special case, and a base class with a per-subclass escape hatch is worse than three backends sharing one. Also: BaseSource itself has no throttle or lastSent (it is status + action plumbing only), so the mirror is partial by nature; the throttle/lastSent half is the duplication the backends actually had. Three internal representation changes, none observable: the MIDI backend's lastSent moves Int16Array -> Float32Array (stored values are integers -1..127, exact in f32, so every dead-zone comparison is bit-identical); the CV backend now inherits a setContext that also allocates a per-output buffer it never reads (cold path, no effect); and onStatusChange's unsubscribe returns void rather than Set.delete's boolean (the declared type was already `() => void` and no caller used it). Phase 2's fix to vcv-backend.ts — tracking and dead-zoning the full N-dim input vector rather than 2 — is preserved. Gates: typecheck clean, 17/17 unit tests. |
||
|---|---|---|
| .github/workflows | ||
| .vscode | ||
| assets/media | ||
| codegen | ||
| docs | ||
| firmware | ||
| manifold | ||
| nisps | ||
| schemas | ||
| scripts | ||
| src | ||
| tests/cpp | ||
| vcv | ||
| .envrc | ||
| .gitignore | ||
| .gitmodules | ||
| AGENTS.md | ||
| ALIGNMENT.md | ||
| CLAUDE.md | ||
| LICENSE | ||
| MAP.md | ||
| README.md | ||
| synth-midi-cc.json | ||
Neural Interactive Shaping of Parameter Spaces
https://musicallyembodiedml.github.io/memlnaut/approaches/nisps
Firmware
The hardware firmware targets the MEMLNaut RP2350 build and uses repo-local helper scripts for the known-good build configuration:
git submodule update --init --recursive
scripts/build-firmware.sh
scripts/flash-firmware.sh
scripts/build-and-flash-firmware.sh
Notes:
- The scripts build for
rp2040:rp2040:solderparty_rp2350_stamp_xlwithOptimize3. - The build forces C++20 because the firmware uses
std::spanand concepts. build-firmware.shaccepts an optional variant name such asMEMLCeliumorBreakOr. Matching remains case-insensitive, somemlceliumstill works. If you omit it in an interactive shell, the script parsesMEMLNaut-NISPS.ino, prompts for a variant, and rewrites the activeMEMLNAUT_MODE_TYPEbefore building.flash-firmware.shaccepts an optional mountpoint argument, or auto-detects common UF2 bootloader mounts such as/run/media/$USER/RP2350and/run/media/$USER/RPI-RP2.
Manifold (browser app)
Try NISPS in your browser — no hardware required. Manifold is the React front-end running the same C++ engines + ML as the firmware, compiled to WASM:
cd manifold
bun install
bun run dev
Staging deployment: https://meml.lnfinitemonkeys.org/next/
Train a neural network to map input gestures to synth parameters through interactive machine learning: place examples, or use verdict-based feedback (explore-and-place, geometric dislike).
(The former SolidJS playground was retired in July 2026 — archived on branch
archive/playground-solidjs, tag playground-solidjs-final.)