Compile nisps-core C++ MLP to WASM (36KB) and use it as the ML engine in the playground, replacing the JavaScript port for inference, training, and weight manipulation. - Add extern "C" WASM bindings with spread-aware drawWeights/moveWeights - WasmIML class is a drop-in replacement for the JS IML - Inference runs on main thread via WASM (fast, synchronous) - Training runs in a Web Worker with its own WASM instance (non-blocking) - Interactive training (thumbs-up, train button) no longer freezes UI/audio - Preset loading and state restore still use sync training |
||
|---|---|---|
| .. | ||
| nisps | ||
| synth | ||
| ui | ||
| a-app.js | ||
| app.js | ||
| b-app.js | ||
| c-app.js | ||