aqua-trial / native-diff: DSP hash in exports, noise% fix, knob + limit tests #41
Loading…
Reference in a new issue
No description provided.
Delete branch "aqua/trial-v5-review-gaps"
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?
Closes items 1-3 and the uncommitted part of 4 of
aqua-body:follow_up:trial-v5-review-gaps. Nothing here is heard or listened to; every check is a node check on synthetic or rendered samples.What
dspSha256(sha-256 of the exactthruster-trial.dsptext the page compiled;web/trial.jshashes the fetched text,logic.jssha256Hex,buildExportrefuses to build without one).analyze.mjsrejects an export without it (a pre-hash page build would otherwise read as mix 0), warns when exports come from different DSP sources, and warns when an export's hash is not this checkout'sthruster-trial.dsp.v5noise100withnoise100(current mix only; the report printsn ... (mix 0 only)).thruster.dspand mix=1 vs thec6561dafile are now checked at rpm 300/600/1200/4800 (mix 1 vs mix 0 must differ at each).compareRenders,violationsOf) moved fromnative-diff.mjsintonative-compare.js(pure, no render/dotnet) so they can be tested;native-diff.mjscalls them. Newnative-diff.test.mjs(wired intoaqua-feelnpm test) trips each limit with known perturbations: +1 dB gain, a two-point low-pass, a one-sample shift, an in-tolerance control, a length mismatch.Tests run
tools/aqua-trial:node build.mjs && node test.mjs: 21 passed (was 16).tools/aqua-feel:npm test: 26 + 59 sync + 8 native-diff passed (native-diff.test.mjs is new, 8).node native-diff.mjsstill runs end to end up to the dotnet call; the native render itself was not run here (the sandbox cannot write the dotnet home).Mutation results (break, see fail, restore)
Deviations
soul-nd-1(smoother cause, ulp sims) are investigation notes, not limit checks; they were not committed. The +1 dB / one-sample mutations fromMUT=in the scratch copy are the committed perturbations.native-diff.mjs's wiring tonative-compare.jsis covered by running it, not by a test (no dotnet in the test).native-diff.mjsrow key order differs slightly (JSON content same).Not done
🤖 Generated with Claude Code