MJ::Sfx
Fit a procedural Web Audio SFX recipe from a reference sound (analysis -> parameters). The DSP analyzer is Python (numpy/scipy/ffmpeg); its source is embedded in the binary at compile time and written to a temp file on first use, so mj stays a single artifact.
Output is a .sfx.json recipe: {source, filters[], wobble, env} — playable in-browser by
a tiny generic Web Audio player (no audio assets). Optionally renders an approximation wav.
Runtime deps: python3, numpy, scipy, ffmpeg.
Constants
PY_SRC = {{ read_file("/tmp/tmp.hKbniD/src/src/engine/sfx_fit.py") }}