Modular mode's default patch sets MM_Matrix/s00_d08_amp = 1.0 via _setRawByLabel at engine init, but on the first inference tick routeOutputs writes the untrained MLP's output (~0.5 normalised) to every paramMeta index. For matrix cells the raw range is [-1, 1], so normalised 0.5 denormalises to 0 — clobbering the default amp routing and killing all audio. Skip the setParam loop for modular when iml.exampleCount === 0, so the worklet keeps running on the default patch we already pushed at init. Once the user captures at least one training example the MLP has a target to reproduce, and routing resumes normally. Only affects modular mode; other engines are unchanged. |
||
|---|---|---|
| .. | ||
| audio | ||
| eoc | ||
| midi | ||
| nisps | ||
| shapeseq | ||
| synth | ||
| ui | ||
| a-app.js | ||
| app.js | ||
| b-app.js | ||
| c-app.js | ||
| event-bus.js | ||