No description
Migrate the specs worth keeping from playground/tests/e2e (retired in P1) into manifold/tests/e2e, adapted to Manifold's probe surface: - probe-api.spec.ts: the window.__nisps debug-probe contract (ready, bounded outputs, example count, randomise, setInputs inference, thumbsUp/Down, addExample, train loss non-increasing, async train, clearExamples, evalLoss, inferBatch, getLayerStats, getWeights). Retargeted to MLP<32,10,14,18,126> (weight_count 3148) and Manifold's direct addExample/routedOutputs surface; dropped the playground's __init/iml-poke escape hatches and stream-pending skips. - spine.spec.ts: the spine invariant — setInputs -> processed -> ml -> routed yields bounded, consistent routed outputs; the probe stays alive across dock output-mode switches (driven via the real selector UI, replacing the playground's localStorage-reload mode cycling). - helpers.ts: loadProbe(?debug=1 + cleared storage + __ready wait), settleInputs for EMA convergence, bounded/changed assertions. Dropped playground UI specs (ui-interactions, persistence, mode-registry list) that die with the playground chrome. No probe.ts changes needed. |
||
|---|---|---|
| .claude/worktrees/agent-ae87fe47/playground/js/shapeseq | ||
| .github/workflows | ||
| .vscode | ||
| assets/media | ||
| codegen | ||
| data | ||
| docs | ||
| firmware | ||
| manifold | ||
| nisps | ||
| playground | ||
| schemas | ||
| scripts | ||
| src | ||
| tests | ||
| vcv | ||
| .envrc | ||
| .gitignore | ||
| .gitmodules | ||
| AGENTS.md | ||
| ALIGNMENT.md | ||
| CLAUDE.md | ||
| LICENSE | ||
| MAP.md | ||
| NISPS_CORE_EXTRACTION_PLAN.md | ||
| NISPS_CORE_TASKS.md | ||
| package-lock.json | ||
| package.json | ||
| playwright.config.js | ||
| 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.
Web Playground
Try NISPS in your browser — no hardware required:
cd playground
python3 -m http.server
# Open http://localhost:8000
Train a neural network to map joystick positions to generative visuals through interactive machine learning. Two learning modes: direct example mapping and reinforcement learning with thumbs up/down feedback.
The playground UI includes an Expand toggle on the visual surface so you can make the canvas nearly full-screen while compressing parameter/control panels into a minimal strip beneath it.