docs: cause of the dx7-algorithm-32 -79.5 dB native-vs-wasm diff #43
Loading…
Reference in a new issue
No description provided.
Delete branch "aqua/dx7-32-diff-cause"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Cause found, two parts, no code bug.
time = ba.time / ma.SRshares the reciprocal of the sample rate in the graph (nativefreq*fround(1/SR)= 0.008166666143 vs wasm 0.008166667074 at 392 Hz; matches Math.fround exactly). Linear phase drift. Removing it: -79.3 to -93.0 dB.si.smoolibrary text on the macro params (known old vs imp3 form), masked by (1) in the 2026-11-10 imp3 pin. With both removed: -141.2 dB.Not a quiet-signal artefact (RMS 0.193), not a shift (lag test), not filters. Note: docs/renders/dx7-algorithm-32-native-diff-cause.md; comments in native-diff.mjs and the 2026-11-10 report updated. Unverified: generated code was not read (no C++ backend in wasm, no faust CLI); which compiler version/path causes the division-vs-reciprocal choice is open. Nothing was heard.
🤖 Generated with Claude Code