Art and animation, written as code. Illustrations, loops, interactive web art, launch-videos and scored films in dozens of styles, identical on every render.
TypeScript agent-skillsanimationcanvasclaude-codeclaude-pluginclaude-skillscodex-plugincreative-codecreative-codingcreative-toolsdeterministicgenerative-arthand-drawnillustrationlaunch-videomotion-designmotion-graphicspluginprocedural-generationskill
Preserve historical measurements for the deferred mix work
Alex Greenshpun2253206ed45e
diff --git a/work/S7a/.gitignore b/work/S7a/.gitignorenew file mode 100644index 0000000..62f71cb--- /dev/null+++ b/work/S7a/.gitignore@@ -0,0 +1,5 @@+*.wav+*.html+*.mp4+*.png+loader-fixture/diff --git a/work/S7a/HANDOFF.md b/work/S7a/HANDOFF.mdnew file mode 100644index 0000000..70a452b--- /dev/null+++ b/work/S7a/HANDOFF.md@@ -0,0 +1,140 @@+# S7a film handoff++Updated 2026-10-04. Branch `ship/S7a-film`. Local commits only, do not push.++## Scope and authority++The owner's latest instruction limits delivery to part 1 of BRIEF-S1-film.md:+films play the recordings. Part 2, the masking mix fix, belongs to a fresh engineer.+Earlier uncommitted experimental mix changes were removed before the final proof.+No spectral calibration fields, recorded-role EQ, or guard changes are delivered.++Read first for continuation:+- `/Users/alexgreenshpun/CascadeProjects/Prompts/Claude-Skills/anidoodle-research/sound-pack/BRIEF-S1-film.md`+- `CONTRACT.md` in the same folder, including amendments (b)/(c).+- `/Users/alexgreenshpun/CascadeProjects/Prompts/Claude-Skills/anidoodle-wt/S6b-voice/work/B2-acoustics/HANDOFF.md`+- `MARIMBA-MASKING.md` beside that handoff.++All were read in full in this session. The supplied AGENTS.md requires sequential+execution. Initially only `skills/anidoodle/engine/node_modules` was untracked;+that dependency symlink is preserved and excluded from commits. No installations,+pushes, or edits to soundpack.mjs, soundfetch.mjs, references, SKILL.md, or README files.++## Delivered part 1++- `FilmAudio.scores` exposes score requirements without changing the audio function's+ call signature. `filmAudio`, `musicBed`, and `launchAudio` propagate it. Existing+ launch1/2/3 declare their scores and retain `Piece.legacy`, so they remain modeled.+- `tools/audio.mjs` bundles the film and music registry together, loads the needed+ banks plus rooms through the existing `tools/sounds.mjs` loader, and renders the+ complete film track including cues. Each load has its own registry. Variant banks+ are checked with instrument plus variant. The WAV CLI is now also available there.+- `build-page.mjs` pre-renders a 48 kHz stereo Float32 track when recordings or a+ recorded room apply, then embeds it in the self-contained HTML. The browser does+ no pack fetch or FLAC decoding. Manifest hashes, FLAC validation and calibration+ remain the shared loader's responsibility. This route was announced before building.+- Browser synthesis previously happened in `hosts/page.ts`, in `audio(sr)` and+ click-to-play `play()`. Both now use the embedded complete track when present.+ Click playback creates its AudioBuffer at the track's 48 kHz rate; Web Audio+ handles the device rate. The export API supports other rates with interpolation+ and an anti-alias filter when reducing the rate. No-pack uses the original synth.+- Playwright and HTML-player adapters, render, emit, gate and verify-export inherit+ this page path. Remotion and Hyperframes use the shared Node audio path directly.+ Hyperframes previously asked its engine to capture audio elements, which did not+ contain this film's synthesized score.+- Fallback tools print one line naming code-built instruments and explaining+ `ANIDOODLE_SOUNDS=<pack-dir>` after downloading the optional sound pack.++Commits: `de2b2a0` (score metadata), `e65f64c` (recorded exports and playback).++## Proof and exact results++Testing pack:+`/Users/alexgreenshpun/CascadeProjects/Prompts/Claude-Skills/anidoodle-research/sound-pack/pack-snap2`.++Both shipped launch examples have `score: null`; the other scored launch films+are legacy, which the contract forbids sampling. The owner explicitly approved+using the shipped shortest `launchExample` plus a scored launch-template fixture.+`scored-film.ts` is that 14 s fixture, with harp lead and marimba chords/bass.+It does not change any shipped score. `launchExample` is 16 s of code-built cues.++Before editing production code, `node work/S7a/film-baseline.mjs` captured WAV hashes+in `film-baseline.json` and `film-baseline.log`. Baseline source revision is+`b0be4f708b2dc7f59dc8704f515c16885ae4e5fb`. Do not overwrite the baseline.++From the worktree root:+```+node work/S7a/film-proof.mjs /Users/alexgreenshpun/CascadeProjects/Prompts/Claude-Skills/anidoodle-research/sound-pack/pack-snap2+```+Final run exited 0 and printed `FILM PROOF PASS`. Results are `film-proof.json` and+`film-proof.log`:+- launchExample, with and without pack: WAV MD5 `f9c4185f6c42c64ac0610196b5233e89`.+- Scored fixture without pack: WAV MD5 `344a1e1d68c265ccca57165c7896ef9b`.+- Scored fixture with pack: WAV MD5 `5658bd32a3d2d8276c957d9ccf7c4991`.+- Recorded log names chords (marimba), lead (harp), bass (marimba). Celesta and+ percussion remain modeled. This is the complete score-plus-cues film track.+- No-pack Node WAVs match pre-edit baselines exactly. No-pack browser PCM matches+ the original browser source exactly. Node and browser synth outputs already+ differed before this change; the proof compares each runtime with its baseline.+- Recorded browser PCM is sample-identical to Node at 48 kHz. All four offline+ pages made zero outside requests, had no page errors, retained duration at+ 24 kHz, and passed click playback with a forced 44.1 kHz device context.+ Recorded clicks used a 48 kHz AudioBuffer, modeled clicks used 44.1 kHz.+- Proof pins the baseline revision, so it remains runnable after these commits.++Additional real CLI check, from `skills/anidoodle/engine`:+```+ANIDOODLE_SOUNDS= node tools/audio.mjs launchExample ../../../work/S7a/launchExample-cli.wav+```+Exit 0, fallback notice, `768000 frames @ 48000 Hz`; read-back WAV MD5 was+`f9c4185f6c42c64ac0610196b5233e89`.++Required checks from `skills/anidoodle/engine`:+- `node tools/test.mjs`: exit 0, **315 passed, 0 failed**, `test-final.log`.+- `ANIDOODLE_SOUNDS= ANIDOODLE_THREADS=2 node tools/music-unit.mjs`: exit 0,+ **38 checks PASS in 211 s**, `music-unit-final.log`.+- `./node_modules/.bin/tsc --noEmit`: exit 0.+- `node --check tools/audio.mjs`, `node --check tools/adapters/hyperframes.mjs`,+ and `git diff --check`: exit 0.++## Limits and remaining work++No listening judgment, full MP4 encode, complete emit verification, or installed+Remotion/Hyperframes runtime was exercised. Their audio routing is implemented;+the offline real page, Node mix, browser export and click path are the runtime proof.+The embedded Float32 track grows HTML by roughly 512 kB per second of audio.+Custom audio closures that render a score must expose `.scores`, or use the provided+wrappers, for the host to discover their pack requirements.++Part 2 is not complete. Production sampler, mixProfiles and guards are identical+to the baseline. Existing recorded masking failures therefore remain. The fresh+engineer must implement the measured role EQ and rerun all original part 2 checks.++## Historical mix evidence, not delivered acceptance++These durable files preserve work done BEFORE the owner narrowed scope. They do+not describe the committed mix and must not be counted as final passing checks:+`baseline.json`, `baseline-pack.json`, `trial-pack.json`, `final-pack.json`,+`mix-diagnostics.json`, `acceptance.mjs`, `mix-diagnostics.mjs`, and their local logs.+The diagnostic script imports removed experimental exports and cannot run on the+delivered code. `acceptance.mjs` can measure the current baseline; pass/fail is+asserted when its mode is not `baseline`. Never overwrite `baseline.json`.++Pre-change pack measurements in `baseline-pack.json`: marimbaCurious clear in 0%+of bars, harpTender 100%, nocturne 68.75%. Worst lead-relative balance errors were+0.721, 0.717, 1.498 dB respectively, using the worse of pre-EQ and post-EQ checks.++Withdrawn experiment measured zone energy fractions in 500 Hz to 4 kHz, compared+them with modeled references, and applied a broad 1.4 kHz bell at Q 0.45 to bass+or accompaniment only. It considered both relative excess and absolute fraction;+using relative excess alone left nocturne failing. No scores or faders were changed.+Its last measurements passed, but the implementation was removed as instructed.++Important finding for the next engineer: guard renders that isolate a note role+must retain the full part's fixed EQ choice. Recalculating the median spectrum+after filtering the part's notes changed nocturne's accompaniment cut and made+the guard measure a different mix. This correction is also withdrawn, not shipped.++Next action: implement part 2 from the original brief in a fresh session, using+the baseline and the prior engineer's acoustic findings. Do not infer acceptance+from historical trial/final JSON.diff --git a/work/S7a/acceptance.mjs b/work/S7a/acceptance.mjsnew file mode 100644index 0000000..4385d01--- /dev/null+++ b/work/S7a/acceptance.mjs@@ -0,0 +1,48 @@+import { build } from '../../skills/anidoodle/engine/node_modules/esbuild/lib/main.js';+import { readFileSync, writeFileSync } from 'node:fs';+import { createHash } from 'node:crypto';+import { loadBanks, soundIds, printSounds } from '../../skills/anidoodle/engine/tools/sounds.mjs';+const root = new URL('../../skills/anidoodle/engine/', import.meta.url).pathname;+const js = (await build({ entryPoints: [root + 'src/canvas-core/music/index.ts'], bundle: true, write: false, format: 'esm' })).outputFiles[0].text;+const M = await import('data:text/javascript;base64,' + Buffer.from(js).toString('base64'));+const dir = new URL('./', import.meta.url), mode = process.argv[2], pack = process.argv[3], names = ['marimbaCurious', 'harpTender', 'nocturne'];+const hash = (r) => createHash('md5').update(Buffer.from(r.L.buffer)).update(Buffer.from(r.R.buffer)).digest('hex');+const modeled = {};+for (const name of names) {+ const p = M.DEMOS[name](), r = M.renderPiece(p, 48000, { stems: true });+ modeled[name] = { md5: hash(r), stems: M.measureStems(p, 24000).rows, postEq: p.parts.map(pt => {+ const s = M.renderPiece(p, 24000, { master: 'none', only: q => q.id === pt.id });+ return { id: pt.id, rmsDb: M.stemRms(s.dry[0], s.dry[1], 24000) };+ }) };+ console.log(`modeled ${name} md5 ${modeled[name].md5}`);+}+if (mode === 'baseline') {+ writeFileSync(new URL('baseline.json', dir), JSON.stringify(modeled, null, 2));+ console.log('baseline captured');+} else {+ const before = JSON.parse(readFileSync(new URL('baseline.json', dir)));+ for (const name of names) if (before[name].md5 !== modeled[name].md5) throw new Error(`${name}: no-pack bytes changed`);+ console.log('no-pack byte identity PASS (all three pieces)');+}+if (pack) {+ loadBanks(M, pack, [...new Set(names.flatMap(name => soundIds(M.DEMOS[name]())))]);+ const results = [];+ for (const name of names) {+ const p = M.DEMOS[name](), r = M.renderPiece(p, 48000, { stems: true }), masking = M.maskingCheck(p, 48000, { seconds: r.L.length / 48000, perf: r.perf });+ printSounds(M, p);+ const stems = M.measureStems(p, 24000).rows, postEq = p.parts.map(pt => {+ const s = M.renderPiece(p, 24000, { master: 'none', only: q => q.id === pt.id });+ return { id: pt.id, rmsDb: M.stemRms(s.dry[0], s.dry[1], 24000) };+ });+ const lead = p.parts.find(pt => pt.role === 'melody').id;+ const balance = (model, sample) => sample.map(row => ({ id: row.id, errorDb:+ row.rmsDb - sample.find(x => x.id === lead).rmsDb - (model.find(x => x.id === row.id).rmsDb - model.find(x => x.id === lead).rmsDb) }));+ const preBalance = balance(modeled[name].stems, stems), postBalance = balance(modeled[name].postEq, postEq);+ const worst = Math.max(...preBalance.concat(postBalance).map(x => Math.abs(x.errorDb)));+ const pass = masking.pass && worst <= 2.5;+ results.push({ name, masking, worstBalanceDb: worst, preBalance, postBalance, pass });+ console.log(`${name}: masking ${masking.pass ? 'PASS' : 'FAIL'} ${100 * masking.shareOfBarsClear}% worst ${masking.worstMarginDb.toFixed(3)} dB; balance ${worst.toFixed(3)} dB ${worst <= 2.5 ? 'PASS' : 'FAIL'}`);+ }+ writeFileSync(new URL(`${mode}-pack.json`, dir), JSON.stringify(results, null, 2));+ if (mode !== 'baseline' && results.some(x => !x.pass)) process.exitCode = 1;+}diff --git a/work/S7a/baseline-pack.json b/work/S7a/baseline-pack.jsonnew file mode 100644index 0000000..f65f1e5--- /dev/null+++ b/work/S7a/baseline-pack.json@@ -0,0 +1,111 @@+[+ {+ "name": "marimbaCurious",+ "masking": {+ "pass": false,+ "shareOfBarsClear": 0,+ "worstMarginDb": -1.6348842987280356,+ "meanMarginDb": 1.1286779481161888+ },+ "worstBalanceDb": 0.7209887447289169,+ "preBalance": [+ {+ "id": "ostinato",+ "errorDb": 0.33419108584844537+ },+ {+ "id": "hook",+ "errorDb": 0+ },+ {+ "id": "low",+ "errorDb": -0.23452811189271117+ },+ {+ "id": "halo",+ "errorDb": 0.7209887447289169+ }+ ],+ "postBalance": [+ {+ "id": "ostinato",+ "errorDb": 0.3208200259808045+ },+ {+ "id": "hook",+ "errorDb": 0+ },+ {+ "id": "low",+ "errorDb": -0.2244717758924466+ },+ {+ "id": "halo",+ "errorDb": 0.7172395233452171+ }+ ],+ "pass": false+ },+ {+ "name": "harpTender",+ "masking": {+ "pass": true,+ "shareOfBarsClear": 1,+ "worstMarginDb": 8.419034628515575,+ "meanMarginDb": 12.291123900188087+ },+ "worstBalanceDb": 0.7169529288734182,+ "preBalance": [+ {+ "id": "arp",+ "errorDb": -0.6465117898309423+ },+ {+ "id": "melody",+ "errorDb": 0+ }+ ],+ "postBalance": [+ {+ "id": "arp",+ "errorDb": -0.7169529288734182+ },+ {+ "id": "melody",+ "errorDb": 0+ }+ ],+ "pass": true+ },+ {+ "name": "nocturne",+ "masking": {+ "pass": false,+ "shareOfBarsClear": 0.6875,+ "worstMarginDb": -1.0577330193406311,+ "meanMarginDb": 5.257590766113437+ },+ "worstBalanceDb": 1.4980131507331116,+ "preBalance": [+ {+ "id": "rh",+ "errorDb": 0+ },+ {+ "id": "lh",+ "errorDb": 1.4589767519197459+ }+ ],+ "postBalance": [+ {+ "id": "rh",+ "errorDb": 0+ },+ {+ "id": "lh",+ "errorDb": 1.4980131507331116+ }+ ],+ "pass": false+ }+]\ No newline at end of filediff --git a/work/S7a/baseline.json b/work/S7a/baseline.jsonnew file mode 100644index 0000000..0e82c79--- /dev/null+++ b/work/S7a/baseline.json@@ -0,0 +1,111 @@+{+ "marimbaCurious": {+ "md5": "d787a58c5704cf940a4404281e33d07a",+ "stems": [+ {+ "id": "ostinato",+ "rmsDb": -23.145446146319294,+ "targetDb": null,+ "offDb": null,+ "ok": true+ },+ {+ "id": "hook",+ "rmsDb": -18.673024815453626,+ "targetDb": null,+ "offDb": null,+ "ok": true+ },+ {+ "id": "low",+ "rmsDb": -17.891278143265666,+ "targetDb": null,+ "offDb": null,+ "ok": true+ },+ {+ "id": "halo",+ "rmsDb": -37.80708163916755,+ "targetDb": null,+ "offDb": null,+ "ok": true+ }+ ],+ "postEq": [+ {+ "id": "ostinato",+ "rmsDb": -23.14750443574816+ },+ {+ "id": "hook",+ "rmsDb": -18.725292381209105+ },+ {+ "id": "low",+ "rmsDb": -17.8908460732183+ },+ {+ "id": "halo",+ "rmsDb": -37.80656224853108+ }+ ]+ },+ "harpTender": {+ "md5": "f71a7e20d442d77462ef0b94e4ca8824",+ "stems": [+ {+ "id": "arp",+ "rmsDb": -38.36609987386093,+ "targetDb": null,+ "offDb": null,+ "ok": true+ },+ {+ "id": "melody",+ "rmsDb": -30.008344938987218,+ "targetDb": null,+ "offDb": null,+ "ok": true+ }+ ],+ "postEq": [+ {+ "id": "arp",+ "rmsDb": -38.36436303501646+ },+ {+ "id": "melody",+ "rmsDb": -30.015140271861465+ }+ ]+ },+ "nocturne": {+ "md5": "acd240c8adffd25d00ee5279f2c72d3e",+ "stems": [+ {+ "id": "rh",+ "rmsDb": -29.602938561492227,+ "targetDb": null,+ "offDb": null,+ "ok": true+ },+ {+ "id": "lh",+ "rmsDb": -32.33027982042252,+ "targetDb": null,+ "offDb": null,+ "ok": true+ }+ ],+ "postEq": [+ {+ "id": "rh",+ "rmsDb": -29.628372581108742+ },+ {+ "id": "lh",+ "rmsDb": -32.33236276040425+ }+ ]+ }+}\ No newline at end of filediff --git a/work/S7a/film-baseline.json b/work/S7a/film-baseline.jsonnew file mode 100644index 0000000..2695627--- /dev/null+++ b/work/S7a/film-baseline.json@@ -0,0 +1,4 @@+{+ "launchExample": "f9c4185f6c42c64ac0610196b5233e89",+ "scoredFilm": "344a1e1d68c265ccca57165c7896ef9b"+}\ No newline at end of filediff --git a/work/S7a/film-baseline.log b/work/S7a/film-baseline.lognew file mode 100644index 0000000..8bfe30f--- /dev/null+++ b/work/S7a/film-baseline.log@@ -0,0 +1,4 @@+launchExample: 16s md5 f9c4185f6c42c64ac0610196b5233e89+(node:22431) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.+(Use `node --trace-warnings ...` to show where the warning was created)+scoredFilm: 14s md5 344a1e1d68c265ccca57165c7896ef9bdiff --git a/work/S7a/film-baseline.mjs b/work/S7a/film-baseline.mjsnew file mode 100644index 0000000..8fff12a--- /dev/null+++ b/work/S7a/film-baseline.mjs@@ -0,0 +1,16 @@+import { build } from '../../skills/anidoodle/engine/node_modules/esbuild/lib/main.js';+import { writeFileSync } from 'node:fs';+import { createHash } from 'node:crypto';+import { float32Wav } from '../../skills/anidoodle/engine/tools/audio.mjs';+const films = { launchExample: './skills/anidoodle/engine/src/canvas-core/launchExample.ts', scoredFilm: './work/S7a/scored-film.ts' }, hashes = {};+for (const [name, file] of Object.entries(films)) {+ const js = (await build({ stdin: { contents: `export { ${name} as film } from ${JSON.stringify(file)};`, resolveDir: process.cwd() }, bundle: true, write: false, format: 'esm' })).outputFiles[0].text;+ const { film } = await import('data:text/javascript;base64,' + Buffer.from(js).toString('base64'));+ const [L, R] = film.audio(48000), pcm = new Float32Array(L.length * 2);+ for (let i = 0; i < L.length; i++) { pcm[i * 2] = L[i]; pcm[i * 2 + 1] = R[i]; }+ const wav = float32Wav({ sampleRate: 48000, frames: L.length, float32: Buffer.from(pcm.buffer).toString('base64') });+ writeFileSync(new URL(`${name}-before.wav`, import.meta.url), wav);+ hashes[name] = createHash('md5').update(wav).digest('hex');+ console.log(`${name}: ${film.meta.durationFrames / film.meta.fps}s md5 ${hashes[name]}`);+}+writeFileSync(new URL('film-baseline.json', import.meta.url), JSON.stringify(hashes, null, 2));diff --git a/work/S7a/film-proof.json b/work/S7a/film-proof.jsonnew file mode 100644index 0000000..493e6ba--- /dev/null+++ b/work/S7a/film-proof.json@@ -0,0 +1,42 @@+[+ {+ "label": "launchExample-modeled",+ "md5": "f9c4185f6c42c64ac0610196b5233e89",+ "browserPcmMd5": "56d04c3103a90ee60f58ca5ea7aaa508",+ "frames": 768000,+ "recorded": false,+ "proof": "original/current browser byte identity",+ "outsideRequests": 0,+ "clickSampleRate": 44100+ },+ {+ "label": "launchExample-pack",+ "md5": "f9c4185f6c42c64ac0610196b5233e89",+ "browserPcmMd5": "56d04c3103a90ee60f58ca5ea7aaa508",+ "frames": 768000,+ "recorded": false,+ "proof": "original/current browser byte identity",+ "outsideRequests": 0,+ "clickSampleRate": 44100+ },+ {+ "label": "scoredFilm-modeled",+ "md5": "344a1e1d68c265ccca57165c7896ef9b",+ "browserPcmMd5": "36454a4d5b1ff257c9ccc96dcb5f2079",+ "frames": 672000,+ "recorded": false,+ "proof": "original/current browser byte identity",+ "outsideRequests": 0,+ "clickSampleRate": 44100+ },+ {+ "label": "scoredFilm-pack",+ "md5": "5658bd32a3d2d8276c957d9ccf7c4991",+ "browserPcmMd5": "a7b950001e3595135bd1473e40253a99",+ "frames": 672000,+ "recorded": true,+ "proof": "Node/browser sample identity",+ "outsideRequests": 0,+ "clickSampleRate": 48000+ }+]\ No newline at end of filediff --git a/work/S7a/film-proof.log b/work/S7a/film-proof.lognew file mode 100644index 0000000..6f303da--- /dev/null+++ b/work/S7a/film-proof.log@@ -0,0 +1,174 @@+(node:99237) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.+(Use `node --trace-warnings ...` to show where the warning was created)+audio: using code-built instruments; download the optional anidoodle sound pack and set ANIDOODLE_SOUNDS=<pack-dir> to use recordings+audio: using code-built instruments; download the optional anidoodle sound pack and set ANIDOODLE_SOUNDS=<pack-dir> to use recordings+audio: using code-built instruments; download the optional anidoodle sound pack and set ANIDOODLE_SOUNDS=<pack-dir> to use recordings+launchExample-modeled: md5 f9c4185f6c42c64ac0610196b5233e89; original/current browser byte identity PASS; offline 0 requests; click 44100 Hz PASS+audio: using code-built instruments; download the optional anidoodle sound pack and set ANIDOODLE_SOUNDS=<pack-dir> to use recordings+audio: using code-built instruments; download the optional anidoodle sound pack and set ANIDOODLE_SOUNDS=<pack-dir> to use recordings+audio: using code-built instruments; download the optional anidoodle sound pack and set ANIDOODLE_SOUNDS=<pack-dir> to use recordings+launchExample-pack: md5 f9c4185f6c42c64ac0610196b5233e89; original/current browser byte identity PASS; offline 0 requests; click 44100 Hz PASS+voices recordings: none; modeled: chords (marimba), lead (harp), counter (celesta), bass (marimba), kick (kick), snare (snare), ghost (snare), hat (hat)+audio: using code-built instruments; download the optional anidoodle sound pack and set ANIDOODLE_SOUNDS=<pack-dir> to use recordings+voices recordings: none; modeled: chords (marimba), lead (harp), counter (celesta), bass (marimba), kick (kick), snare (snare), ghost (snare), hat (hat)+audio: using code-built instruments; download the optional anidoodle sound pack and set ANIDOODLE_SOUNDS=<pack-dir> to use recordings+audio: using code-built instruments; download the optional anidoodle sound pack and set ANIDOODLE_SOUNDS=<pack-dir> to use recordings+scoredFilm-modeled: md5 344a1e1d68c265ccca57165c7896ef9b; original/current browser byte identity PASS; offline 0 requests; click 44100 Hz PASS+calibration marimba: median trim 15.85 dB; zone | layer | measured dB | modeled dB | requested dB | applied dB | deviation dB+ marimba/F2_l1_rr1.flac | 1 | -69.90 | -45.11 | 24.79 | 24.79 | 8.95 | FLAG applied >9 dB (includes instrument trim)+ marimba/F2_l2_rr1.flac | 2 | -58.52 | -33.18 | 25.34 | 24.85 | 9.00 | FLAG applied >9 dB (includes instrument trim) | FLAG >9 dB deviation: capped, inspect zone/reference | prefer louder layer+ marimba/F2_l3_rr1.flac | 3 | -53.93 | -27.63 | 26.30 | 24.85 | 9.00 | FLAG applied >9 dB (includes instrument trim) | FLAG >9 dB deviation: capped, inspect zone/reference | prefer louder layer+ marimba/C3_l1_rr1.flac | 1 | -71.48 | -46.02 | 25.46 | 24.85 | 9.00 | FLAG applied >9 dB (includes instrument trim) | FLAG >9 dB deviation: capped, inspect zone/reference | prefer louder layer+ marimba/C3_l2_rr1.flac | 2 | -60.21 | -34.09 | 26.13 | 24.85 | 9.00 | FLAG applied >9 dB (includes instrument trim) | FLAG >9 dB deviation: capped, inspect zone/reference | prefer louder layer+ marimba/C3_l3_rr1.flac | 3 | -48.37 | -28.54 | 19.83 | 19.83 | 3.98 | FLAG applied >9 dB (includes instrument trim)+ marimba/G3_l1_rr1.flac | 1 | -73.61 | -48.44 | 25.17 | 24.85 | 9.00 | FLAG applied >9 dB (includes instrument trim) | FLAG >9 dB deviation: capped, inspect zone/reference | prefer louder layer+ marimba/G3_l2_rr1.flac | 2 | -61.67 | -34.53 | 27.15 | 24.85 | 9.00 | FLAG applied >9 dB (includes instrument trim) | FLAG >9 dB deviation: capped, inspect zone/reference | prefer louder layer+ marimba/G3_l3_rr1.flac | 3 | -51.53 | -28.98 | 22.55 | 22.55 | 6.70 | FLAG applied >9 dB (includes instrument trim)+ marimba/B3_l1_rr1.flac | 1 | -72.12 | -52.17 | 19.94 | 19.94 | 4.09 | FLAG applied >9 dB (includes instrument trim)+ marimba/B3_l2_rr1.flac | 2 | -60.63 | -34.50 | 26.13 | 24.85 | 9.00 | FLAG applied >9 dB (includes instrument trim) | FLAG >9 dB deviation: capped, inspect zone/reference | prefer louder layer+ marimba/B3_l3_rr1.flac | 3 | -52.19 | -28.95 | 23.24 | 23.24 | 7.39 | FLAG applied >9 dB (includes instrument trim)+ marimba/F4_l1_rr1.flac | 1 | -62.36 | -68.98 | -6.62 | 6.85 | -9.00 | FLAG >9 dB deviation: capped, inspect zone/reference+ marimba/F4_l2_rr1.flac | 2 | -56.95 | -37.08 | 19.87 | 19.87 | 4.02 | FLAG applied >9 dB (includes instrument trim)+ marimba/F4_l3_rr1.flac | 3 | -46.74 | -31.53 | 15.21 | 15.21 | -0.64 | FLAG applied >9 dB (includes instrument trim)+ marimba/C5_l1_rr1.flac | 1 | -73.41 | -59.14 | 14.27 | 14.27 | -1.58 | FLAG applied >9 dB (includes instrument trim)+ marimba/C5_l2_rr1.flac | 2 | -60.93 | -40.11 | 20.82 | 20.82 | 4.97 | FLAG applied >9 dB (includes instrument trim)+ marimba/C5_l3_rr1.flac | 3 | -50.72 | -34.56 | 16.17 | 16.17 | 0.32 | FLAG applied >9 dB (includes instrument trim)+ marimba/G5_l1_rr1.flac | 1 | -69.64 | -71.70 | -2.06 | 6.85 | -9.00 | FLAG >9 dB deviation: capped, inspect zone/reference+ marimba/G5_l2_rr1.flac | 2 | -60.15 | -60.37 | -0.22 | 6.85 | -9.00 | FLAG >9 dB deviation: capped, inspect zone/reference+ marimba/G5_l3_rr1.flac | 3 | -50.11 | -36.27 | 13.84 | 13.84 | -2.01 | FLAG applied >9 dB (includes instrument trim)+ marimba/B5_l1_rr1.flac | 1 | -81.12 | -68.05 | 13.07 | 13.07 | -2.78 | FLAG applied >9 dB (includes instrument trim)+ marimba/B5_l2_rr1.flac | 2 | -64.82 | -65.77 | -0.95 | 6.85 | -9.00 | FLAG >9 dB deviation: capped, inspect zone/reference+ marimba/B5_l3_rr1.flac | 3 | -52.24 | -36.71 | 15.53 | 15.53 | -0.32 | FLAG applied >9 dB (includes instrument trim)+ marimba/F6_l1_rr1.flac | 1 | -96.51 | -81.26 | 15.24 | 15.24 | -0.61 | FLAG applied >9 dB (includes instrument trim)+ marimba/F6_l2_rr1.flac | 2 | -73.36 | -58.61 | 14.75 | 14.75 | -1.10 | FLAG applied >9 dB (includes instrument trim)+ marimba/F6_l3_rr1.flac | 3 | -56.30 | -44.72 | 11.59 | 11.59 | -4.26 | FLAG applied >9 dB (includes instrument trim)+ marimba/C7_l1_rr1.flac | 1 | -90.06 | -84.70 | 5.35 | 6.85 | -9.00 | FLAG >9 dB deviation: capped, inspect zone/reference+ marimba/C7_l2_rr1.flac | 2 | -72.10 | -64.71 | 7.40 | 7.40 | -8.45+ marimba/C7_l3_rr1.flac | 3 | -55.33 | -45.56 | 9.77 | 9.77 | -6.08 | FLAG applied >9 dB (includes instrument trim)+calibration harp: median trim -3.29 dB; zone | layer | measured dB | modeled dB | requested dB | applied dB | deviation dB+ harp/E1_l2_rr1.flac | 2 | -51.57 | -42.31 | 9.26 | 5.71 | 9.00 | FLAG >9 dB deviation: capped, inspect zone/reference | prefer louder layer+ harp/G1_l1_rr1.flac | 1 | -73.09 | -53.16 | 19.92 | 5.71 | 9.00 | FLAG >9 dB deviation: capped, inspect zone/reference | prefer louder layer+ harp/G1_l2_rr1.flac | 2 | -52.96 | -42.19 | 10.77 | 5.71 | 9.00 | FLAG >9 dB deviation: capped, inspect zone/reference | prefer louder layer+ harp/B1_l1_rr1.flac | 1 | -58.90 | -55.61 | 3.29 | 3.29 | 6.58+ harp/B1_l2_rr1.flac | 2 | -45.73 | -41.60 | 4.14 | 4.14 | 7.43+ harp/D2_l1_rr1.flac | 1 | -58.67 | -53.87 | 4.80 | 4.80 | 8.09+ harp/D2_l2_rr1.flac | 2 | -43.79 | -41.23 | 2.56 | 2.56 | 5.86+ harp/F2_l1_rr1.flac | 1 | -56.92 | -56.33 | 0.59 | 0.59 | 3.88+ harp/F2_l2_rr1.flac | 2 | -46.94 | -44.68 | 2.25 | 2.25 | 5.55+ harp/A2_l1_rr1.flac | 1 | -51.40 | -56.50 | -5.10 | -5.10 | -1.81+ harp/A2_l2_rr1.flac | 2 | -43.15 | -43.11 | 0.03 | 0.03 | 3.33+ harp/C3_l1_rr1.flac | 1 | -55.06 | -55.58 | -0.52 | -0.52 | 2.77+ harp/C3_l2_rr1.flac | 2 | -41.61 | -44.44 | -2.84 | -2.84 | 0.45+ harp/E3_l1_rr1.flac | 1 | -53.69 | -56.99 | -3.29 | -3.29 | 0.00+ harp/E3_l2_rr1.flac | 2 | -47.59 | -45.66 | 1.93 | 1.93 | 5.22+ harp/G3_l1_rr1.flac | 1 | -45.43 | -54.96 | -9.53 | -9.53 | -6.24 | FLAG applied >9 dB (includes instrument trim)+ harp/G3_l2_rr1.flac | 2 | -40.12 | -43.42 | -3.30 | -3.30 | -0.00+ harp/B3_l1_rr1.flac | 1 | -47.28 | -55.11 | -7.83 | -7.83 | -4.54+ harp/B3_l2_rr1.flac | 2 | -44.81 | -42.71 | 2.11 | 2.11 | 5.40+ harp/D4_l1_rr1.flac | 1 | -47.76 | -58.66 | -10.90 | -10.90 | -7.61 | FLAG applied >9 dB (includes instrument trim)+ harp/D4_l2_rr1.flac | 2 | -42.62 | -45.52 | -2.90 | -2.90 | 0.39+ harp/F4_l1_rr1.flac | 1 | -43.80 | -56.21 | -12.41 | -12.29 | -9.00 | FLAG applied >9 dB (includes instrument trim) | FLAG >9 dB deviation: capped, inspect zone/reference+ harp/F4_l2_rr1.flac | 2 | -40.29 | -45.40 | -5.11 | -5.11 | -1.82+ harp/A4_l1_rr1.flac | 1 | -48.29 | -61.60 | -13.31 | -12.29 | -9.00 | FLAG applied >9 dB (includes instrument trim) | FLAG >9 dB deviation: capped, inspect zone/reference+ harp/A4_l2_rr1.flac | 2 | -42.96 | -47.68 | -4.72 | -4.72 | -1.43+ harp/C5_l1_rr1.flac | 1 | -48.74 | -60.10 | -11.36 | -11.36 | -8.07 | FLAG applied >9 dB (includes instrument trim)+ harp/C5_l2_rr1.flac | 2 | -43.74 | -45.90 | -2.17 | -2.17 | 1.13+ harp/E5_l1_rr1.flac | 1 | -45.39 | -63.62 | -18.23 | -12.29 | -9.00 | FLAG applied >9 dB (includes instrument trim) | FLAG >9 dB deviation: capped, inspect zone/reference+ harp/E5_l2_rr1.flac | 2 | -41.94 | -49.36 | -7.42 | -7.42 | -4.13+ harp/G5_l1_rr1.flac | 1 | -55.57 | -63.86 | -8.30 | -8.30 | -5.00+ harp/G5_l2_rr1.flac | 2 | -51.54 | -48.78 | 2.76 | 2.76 | 6.05+ harp/B5_l1_rr1.flac | 1 | -52.48 | -65.21 | -12.73 | -12.29 | -9.00 | FLAG applied >9 dB (includes instrument trim) | FLAG >9 dB deviation: capped, inspect zone/reference+ harp/B5_l2_rr1.flac | 2 | -53.34 | -52.57 | 0.77 | 0.77 | 4.06+ harp/D6_l1_rr1.flac | 1 | -52.83 | -65.59 | -12.76 | -12.29 | -9.00 | FLAG applied >9 dB (includes instrument trim) | FLAG >9 dB deviation: capped, inspect zone/reference+ harp/D6_l2_rr1.flac | 2 | -45.90 | -53.03 | -7.14 | -7.14 | -3.84+ harp/F6_l1_rr1.flac | 1 | -59.53 | -66.35 | -6.82 | -6.82 | -3.53+ harp/F6_l2_rr1.flac | 2 | -49.03 | -53.76 | -4.73 | -4.73 | -1.44+ harp/A6_l1_rr1.flac | 1 | -58.38 | -66.70 | -8.31 | -8.31 | -5.02+ harp/A6_l2_rr1.flac | 2 | -52.90 | -54.40 | -1.50 | -1.50 | 1.79+ harp/B6_l1_rr1.flac | 1 | -61.85 | -67.03 | -5.18 | -5.18 | -1.89+ harp/B6_l2_rr1.flac | 2 | -48.08 | -54.67 | -6.59 | -6.59 | -3.29+ harp/D7_l1_rr1.flac | 1 | -78.67 | -67.37 | 11.30 | 5.71 | 9.00 | FLAG >9 dB deviation: capped, inspect zone/reference | prefer louder layer+ harp/D7_l2_rr1.flac | 2 | -54.22 | -54.73 | -0.52 | -0.52 | 2.78+ harp/F7_l1_rr1.flac | 1 | -74.73 | -67.45 | 7.29 | 5.71 | 9.00 | FLAG >9 dB deviation: capped, inspect zone/reference | prefer louder layer+ harp/F7_l2_rr1.flac | 2 | -50.99 | -54.94 | -3.95 | -3.95 | -0.65+voices recordings: chords (marimba, sparse, max shift 3 semitones), lead (harp), bass (marimba, sparse, max shift 3 semitones); modeled: counter (celesta), kick (kick), snare (snare), ghost (snare), hat (hat)+calibration marimba: median trim 15.85 dB; zone | layer | measured dB | modeled dB | requested dB | applied dB | deviation dB+ marimba/F2_l1_rr1.flac | 1 | -69.90 | -45.11 | 24.79 | 24.79 | 8.95 | FLAG applied >9 dB (includes instrument trim)+ marimba/F2_l2_rr1.flac | 2 | -58.52 | -33.18 | 25.34 | 24.85 | 9.00 | FLAG applied >9 dB (includes instrument trim) | FLAG >9 dB deviation: capped, inspect zone/reference | prefer louder layer+ marimba/F2_l3_rr1.flac | 3 | -53.93 | -27.63 | 26.30 | 24.85 | 9.00 | FLAG applied >9 dB (includes instrument trim) | FLAG >9 dB deviation: capped, inspect zone/reference | prefer louder layer+ marimba/C3_l1_rr1.flac | 1 | -71.48 | -46.02 | 25.46 | 24.85 | 9.00 | FLAG applied >9 dB (includes instrument trim) | FLAG >9 dB deviation: capped, inspect zone/reference | prefer louder layer+ marimba/C3_l2_rr1.flac | 2 | -60.21 | -34.09 | 26.13 | 24.85 | 9.00 | FLAG applied >9 dB (includes instrument trim) | FLAG >9 dB deviation: capped, inspect zone/reference | prefer louder layer+ marimba/C3_l3_rr1.flac | 3 | -48.37 | -28.54 | 19.83 | 19.83 | 3.98 | FLAG applied >9 dB (includes instrument trim)+ marimba/G3_l1_rr1.flac | 1 | -73.61 | -48.44 | 25.17 | 24.85 | 9.00 | FLAG applied >9 dB (includes instrument trim) | FLAG >9 dB deviation: capped, inspect zone/reference | prefer louder layer+ marimba/G3_l2_rr1.flac | 2 | -61.67 | -34.53 | 27.15 | 24.85 | 9.00 | FLAG applied >9 dB (includes instrument trim) | FLAG >9 dB deviation: capped, inspect zone/reference | prefer louder layer+ marimba/G3_l3_rr1.flac | 3 | -51.53 | -28.98 | 22.55 | 22.55 | 6.70 | FLAG applied >9 dB (includes instrument trim)+ marimba/B3_l1_rr1.flac | 1 | -72.12 | -52.17 | 19.94 | 19.94 | 4.09 | FLAG applied >9 dB (includes instrument trim)+ marimba/B3_l2_rr1.flac | 2 | -60.63 | -34.50 | 26.13 | 24.85 | 9.00 | FLAG applied >9 dB (includes instrument trim) | FLAG >9 dB deviation: capped, inspect zone/reference | prefer louder layer+ marimba/B3_l3_rr1.flac | 3 | -52.19 | -28.95 | 23.24 | 23.24 | 7.39 | FLAG applied >9 dB (includes instrument trim)+ marimba/F4_l1_rr1.flac | 1 | -62.36 | -68.98 | -6.62 | 6.85 | -9.00 | FLAG >9 dB deviation: capped, inspect zone/reference+ marimba/F4_l2_rr1.flac | 2 | -56.95 | -37.08 | 19.87 | 19.87 | 4.02 | FLAG applied >9 dB (includes instrument trim)+ marimba/F4_l3_rr1.flac | 3 | -46.74 | -31.53 | 15.21 | 15.21 | -0.64 | FLAG applied >9 dB (includes instrument trim)+ marimba/C5_l1_rr1.flac | 1 | -73.41 | -59.14 | 14.27 | 14.27 | -1.58 | FLAG applied >9 dB (includes instrument trim)+ marimba/C5_l2_rr1.flac | 2 | -60.93 | -40.11 | 20.82 | 20.82 | 4.97 | FLAG applied >9 dB (includes instrument trim)+ marimba/C5_l3_rr1.flac | 3 | -50.72 | -34.56 | 16.17 | 16.17 | 0.32 | FLAG applied >9 dB (includes instrument trim)+ marimba/G5_l1_rr1.flac | 1 | -69.64 | -71.70 | -2.06 | 6.85 | -9.00 | FLAG >9 dB deviation: capped, inspect zone/reference+ marimba/G5_l2_rr1.flac | 2 | -60.15 | -60.37 | -0.22 | 6.85 | -9.00 | FLAG >9 dB deviation: capped, inspect zone/reference+ marimba/G5_l3_rr1.flac | 3 | -50.11 | -36.27 | 13.84 | 13.84 | -2.01 | FLAG applied >9 dB (includes instrument trim)+ marimba/B5_l1_rr1.flac | 1 | -81.12 | -68.05 | 13.07 | 13.07 | -2.78 | FLAG applied >9 dB (includes instrument trim)+ marimba/B5_l2_rr1.flac | 2 | -64.82 | -65.77 | -0.95 | 6.85 | -9.00 | FLAG >9 dB deviation: capped, inspect zone/reference+ marimba/B5_l3_rr1.flac | 3 | -52.24 | -36.71 | 15.53 | 15.53 | -0.32 | FLAG applied >9 dB (includes instrument trim)+ marimba/F6_l1_rr1.flac | 1 | -96.51 | -81.26 | 15.24 | 15.24 | -0.61 | FLAG applied >9 dB (includes instrument trim)+ marimba/F6_l2_rr1.flac | 2 | -73.36 | -58.61 | 14.75 | 14.75 | -1.10 | FLAG applied >9 dB (includes instrument trim)+ marimba/F6_l3_rr1.flac | 3 | -56.30 | -44.72 | 11.59 | 11.59 | -4.26 | FLAG applied >9 dB (includes instrument trim)+ marimba/C7_l1_rr1.flac | 1 | -90.06 | -84.70 | 5.35 | 6.85 | -9.00 | FLAG >9 dB deviation: capped, inspect zone/reference+ marimba/C7_l2_rr1.flac | 2 | -72.10 | -64.71 | 7.40 | 7.40 | -8.45+ marimba/C7_l3_rr1.flac | 3 | -55.33 | -45.56 | 9.77 | 9.77 | -6.08 | FLAG applied >9 dB (includes instrument trim)+calibration harp: median trim -3.29 dB; zone | layer | measured dB | modeled dB | requested dB | applied dB | deviation dB+ harp/E1_l2_rr1.flac | 2 | -51.57 | -42.31 | 9.26 | 5.71 | 9.00 | FLAG >9 dB deviation: capped, inspect zone/reference | prefer louder layer+ harp/G1_l1_rr1.flac | 1 | -73.09 | -53.16 | 19.92 | 5.71 | 9.00 | FLAG >9 dB deviation: capped, inspect zone/reference | prefer louder layer+ harp/G1_l2_rr1.flac | 2 | -52.96 | -42.19 | 10.77 | 5.71 | 9.00 | FLAG >9 dB deviation: capped, inspect zone/reference | prefer louder layer+ harp/B1_l1_rr1.flac | 1 | -58.90 | -55.61 | 3.29 | 3.29 | 6.58+ harp/B1_l2_rr1.flac | 2 | -45.73 | -41.60 | 4.14 | 4.14 | 7.43+ harp/D2_l1_rr1.flac | 1 | -58.67 | -53.87 | 4.80 | 4.80 | 8.09+ harp/D2_l2_rr1.flac | 2 | -43.79 | -41.23 | 2.56 | 2.56 | 5.86+ harp/F2_l1_rr1.flac | 1 | -56.92 | -56.33 | 0.59 | 0.59 | 3.88+ harp/F2_l2_rr1.flac | 2 | -46.94 | -44.68 | 2.25 | 2.25 | 5.55+ harp/A2_l1_rr1.flac | 1 | -51.40 | -56.50 | -5.10 | -5.10 | -1.81+ harp/A2_l2_rr1.flac | 2 | -43.15 | -43.11 | 0.03 | 0.03 | 3.33+ harp/C3_l1_rr1.flac | 1 | -55.06 | -55.58 | -0.52 | -0.52 | 2.77+ harp/C3_l2_rr1.flac | 2 | -41.61 | -44.44 | -2.84 | -2.84 | 0.45+ harp/E3_l1_rr1.flac | 1 | -53.69 | -56.99 | -3.29 | -3.29 | 0.00+ harp/E3_l2_rr1.flac | 2 | -47.59 | -45.66 | 1.93 | 1.93 | 5.22+ harp/G3_l1_rr1.flac | 1 | -45.43 | -54.96 | -9.53 | -9.53 | -6.24 | FLAG applied >9 dB (includes instrument trim)+ harp/G3_l2_rr1.flac | 2 | -40.12 | -43.42 | -3.30 | -3.30 | -0.00+ harp/B3_l1_rr1.flac | 1 | -47.28 | -55.11 | -7.83 | -7.83 | -4.54+ harp/B3_l2_rr1.flac | 2 | -44.81 | -42.71 | 2.11 | 2.11 | 5.40+ harp/D4_l1_rr1.flac | 1 | -47.76 | -58.66 | -10.90 | -10.90 | -7.61 | FLAG applied >9 dB (includes instrument trim)+ harp/D4_l2_rr1.flac | 2 | -42.62 | -45.52 | -2.90 | -2.90 | 0.39+ harp/F4_l1_rr1.flac | 1 | -43.80 | -56.21 | -12.41 | -12.29 | -9.00 | FLAG applied >9 dB (includes instrument trim) | FLAG >9 dB deviation: capped, inspect zone/reference+ harp/F4_l2_rr1.flac | 2 | -40.29 | -45.40 | -5.11 | -5.11 | -1.82+ harp/A4_l1_rr1.flac | 1 | -48.29 | -61.60 | -13.31 | -12.29 | -9.00 | FLAG applied >9 dB (includes instrument trim) | FLAG >9 dB deviation: capped, inspect zone/reference+ harp/A4_l2_rr1.flac | 2 | -42.96 | -47.68 | -4.72 | -4.72 | -1.43+ harp/C5_l1_rr1.flac | 1 | -48.74 | -60.10 | -11.36 | -11.36 | -8.07 | FLAG applied >9 dB (includes instrument trim)+ harp/C5_l2_rr1.flac | 2 | -43.74 | -45.90 | -2.17 | -2.17 | 1.13+ harp/E5_l1_rr1.flac | 1 | -45.39 | -63.62 | -18.23 | -12.29 | -9.00 | FLAG applied >9 dB (includes instrument trim) | FLAG >9 dB deviation: capped, inspect zone/reference+ harp/E5_l2_rr1.flac | 2 | -41.94 | -49.36 | -7.42 | -7.42 | -4.13+ harp/G5_l1_rr1.flac | 1 | -55.57 | -63.86 | -8.30 | -8.30 | -5.00+ harp/G5_l2_rr1.flac | 2 | -51.54 | -48.78 | 2.76 | 2.76 | 6.05+ harp/B5_l1_rr1.flac | 1 | -52.48 | -65.21 | -12.73 | -12.29 | -9.00 | FLAG applied >9 dB (includes instrument trim) | FLAG >9 dB deviation: capped, inspect zone/reference+ harp/B5_l2_rr1.flac | 2 | -53.34 | -52.57 | 0.77 | 0.77 | 4.06+ harp/D6_l1_rr1.flac | 1 | -52.83 | -65.59 | -12.76 | -12.29 | -9.00 | FLAG applied >9 dB (includes instrument trim) | FLAG >9 dB deviation: capped, inspect zone/reference+ harp/D6_l2_rr1.flac | 2 | -45.90 | -53.03 | -7.14 | -7.14 | -3.84+ harp/F6_l1_rr1.flac | 1 | -59.53 | -66.35 | -6.82 | -6.82 | -3.53+ harp/F6_l2_rr1.flac | 2 | -49.03 | -53.76 | -4.73 | -4.73 | -1.44+ harp/A6_l1_rr1.flac | 1 | -58.38 | -66.70 | -8.31 | -8.31 | -5.02+ harp/A6_l2_rr1.flac | 2 | -52.90 | -54.40 | -1.50 | -1.50 | 1.79+ harp/B6_l1_rr1.flac | 1 | -61.85 | -67.03 | -5.18 | -5.18 | -1.89+ harp/B6_l2_rr1.flac | 2 | -48.08 | -54.67 | -6.59 | -6.59 | -3.29+ harp/D7_l1_rr1.flac | 1 | -78.67 | -67.37 | 11.30 | 5.71 | 9.00 | FLAG >9 dB deviation: capped, inspect zone/reference | prefer louder layer+ harp/D7_l2_rr1.flac | 2 | -54.22 | -54.73 | -0.52 | -0.52 | 2.78+ harp/F7_l1_rr1.flac | 1 | -74.73 | -67.45 | 7.29 | 5.71 | 9.00 | FLAG >9 dB deviation: capped, inspect zone/reference | prefer louder layer+ harp/F7_l2_rr1.flac | 2 | -50.99 | -54.94 | -3.95 | -3.95 | -0.65+voices recordings: chords (marimba, sparse, max shift 3 semitones), lead (harp), bass (marimba, sparse, max shift 3 semitones); modeled: counter (celesta), kick (kick), snare (snare), ghost (snare), hat (hat)+scoredFilm-pack: md5 5658bd32a3d2d8276c957d9ccf7c4991; Node/browser sample identity PASS; offline 0 requests; click 48000 Hz PASS+FILM PROOF PASSdiff --git a/work/S7a/film-proof.mjs b/work/S7a/film-proof.mjsnew file mode 100644index 0000000..1a1abb7--- /dev/null+++ b/work/S7a/film-proof.mjs@@ -0,0 +1,75 @@+import { readFileSync, writeFileSync } from 'node:fs';+import { createHash } from 'node:crypto';+import assert from 'node:assert/strict';+import { pathToFileURL } from 'node:url';+import { buildPage } from '../../skills/anidoodle/engine/tools/build-page.mjs';+import { loadFilmModule, prepareFilmSounds, filmFloat32, float32Wav } from '../../skills/anidoodle/engine/tools/audio.mjs';+import { overlay } from '../../skills/anidoodle/engine/tools/overlay.mjs';+import { detect } from '../../skills/anidoodle/engine/tools/detect.mjs';+import { execFileSync } from 'node:child_process';+const root = new URL('../../skills/anidoodle/engine/', import.meta.url).pathname;+process.chdir(root);+const dir = new URL('./', import.meta.url).pathname, pack = process.argv[2], expected = JSON.parse(readFileSync(dir + 'film-baseline.json'));+const fixture = { name: 'S7a-proof-fixture', setup(b) { b.onResolve({ filter: /\/canvas-core\/scoredFilm$/ }, () => ({ path: dir + 'scored-film.ts' })); } };+const plugins = [fixture, overlay], md5 = b => createHash('md5').update(b).digest('hex');+const prefix = 'skills/anidoodle/engine/';+const baselineRevision = 'b0be4f708b2dc7f59dc8704f515c16885ae4e5fb';+const original = new Map(execFileSync('git', ['diff', baselineRevision, '--name-only'], { encoding: 'utf8' }).trim().split('\n').filter(p => p.startsWith(prefix + 'src/') && p.endsWith('.ts')).map(p => [root + p.slice(prefix.length), execFileSync('git', ['show', `${baselineRevision}:${p}`], { encoding: 'utf8' })]));+const beforeSources = { name: 'S7a-original-sources', setup(b) { b.onLoad({ filter: /\.ts$/ }, a => original.has(a.path) ? { contents: original.get(a.path), loader: 'ts' } : undefined); } };+const env = detect();+assert(env.chosen, 'offline browser must be available');+const browser = await env.pw.lib.chromium.launch({ executablePath: env.browser.executablePath, args: ['--disable-background-timer-throttling'] });+const rows = [];+try {+ for (const title of ['launchExample', 'scoredFilm']) {+ for (const recorded of [false, true]) {+ process.env.ANIDOODLE_SOUNDS = recorded ? pack : '';+ const { film, music } = await loadFilmModule(title, plugins);+ const usesPack = prepareFilmSounds(film, music), audio = filmFloat32(film), wav = float32Wav(audio), hash = md5(wav);+ const label = `${title}-${recorded ? 'pack' : 'modeled'}`, entry = title === 'scoredFilm' ? dir + 'page-scoredFilm.ts' : 'src/hosts/page-launchExample.ts';+ writeFileSync(dir + label + '.wav', wav);+ if (!recorded || title === 'launchExample') assert.equal(hash, expected[title], `${label}: baseline byte identity`);+ else { assert(usesPack); assert.notEqual(hash, expected[title]); }+ const built = await buildPage({ entry, out: dir + label + '.html', title, plugins: [fixture] });+ const page = await browser.newPage(), errors = [], requests = [];+ page.on('pageerror', e => errors.push(e.message));+ page.on('requestfailed', r => errors.push(r.url()));+ page.on('request', r => { if (!/^(file|data|blob):/.test(r.url())) requests.push(r.url()); });+ await page.goto(pathToFileURL(built.out).href + '?adapter=1');+ await page.evaluate(async () => { await window.FILM.ready; window.FILM.seek(0); });+ const played = await page.evaluate(() => window.FILM.audio(48000));+ let reference = audio, proof = 'Node/browser sample identity';+ if (!usesPack) {+ const before = await buildPage({ entry, out: dir + label + '-original.html', title, plugins: [beforeSources, fixture] });+ const oldPage = await browser.newPage(); await oldPage.goto(pathToFileURL(before.out).href + '?adapter=1');+ reference = await oldPage.evaluate(() => window.FILM.audio(48000)); await oldPage.close();+ proof = 'original/current browser byte identity';+ }+ assert.equal(md5(Buffer.from(played.float32, 'base64')), md5(Buffer.from(reference.float32, 'base64')), `${label}: ${proof}`);+ assert.equal(played.frames, audio.frames);+ assert.deepEqual(errors, []); assert.deepEqual(requests, []);+ const smaller = await page.evaluate(() => window.FILM.audio(24000));+ assert.equal(smaller.frames, audio.frames / 2);+ await page.close();+ // Exercise click-to-play at a device rate different from the pinned 48 kHz track.+ const player = await browser.newPage(); player.on('pageerror', e => errors.push(e.message));+ await player.addInitScript(() => {+ const Native = window.AudioContext;+ window.__played__ = null;+ window.AudioContext = class extends Native {+ constructor() { super({ sampleRate: 44100 }); }+ createBuffer(channels, frames, sr) { window.__played__ = { frames, sr }; return super.createBuffer(channels, frames, sr); }+ };+ });+ await player.goto(pathToFileURL(built.out).href); await player.evaluate(async () => { await window.FILM.ready; });+ await player.locator('canvas').click();+ const click = await player.evaluate(() => window.__played__);+ assert(click && click.frames > 0); assert.equal(click.sr, usesPack ? 48000 : 44100);+ assert.deepEqual(errors, []); await player.close();+ rows.push({ label, md5: hash, browserPcmMd5: md5(Buffer.from(played.float32, 'base64')), frames: audio.frames, recorded: usesPack, proof, outsideRequests: requests.length, clickSampleRate: click.sr });+ console.log(`${label}: md5 ${hash}; ${proof} PASS; offline 0 requests; click ${click.sr} Hz PASS`);+ }+ }+ writeFileSync(dir + 'film-proof.json', JSON.stringify(rows, null, 2));+ console.log('FILM PROOF PASS');+} finally { await browser.close(); }diff --git a/work/S7a/final-pack.json b/work/S7a/final-pack.jsonnew file mode 100644index 0000000..c96a74b--- /dev/null+++ b/work/S7a/final-pack.json@@ -0,0 +1,111 @@+[+ {+ "name": "marimbaCurious",+ "masking": {+ "pass": true,+ "shareOfBarsClear": 1,+ "worstMarginDb": 4.1295654799792345,+ "meanMarginDb": 6.59782054157315+ },+ "worstBalanceDb": 0.7209887447289169,+ "preBalance": [+ {+ "id": "ostinato",+ "errorDb": 0.33419108584844537+ },+ {+ "id": "hook",+ "errorDb": 0+ },+ {+ "id": "low",+ "errorDb": -0.23452811189271117+ },+ {+ "id": "halo",+ "errorDb": 0.7209887447289169+ }+ ],+ "postBalance": [+ {+ "id": "ostinato",+ "errorDb": 0.36388469931222645+ },+ {+ "id": "hook",+ "errorDb": 0+ },+ {+ "id": "low",+ "errorDb": -0.0037444267306874224+ },+ {+ "id": "halo",+ "errorDb": 0.7172395233452171+ }+ ],+ "pass": true+ },+ {+ "name": "harpTender",+ "masking": {+ "pass": true,+ "shareOfBarsClear": 1,+ "worstMarginDb": 9.248058382487685,+ "meanMarginDb": 13.051369282362131+ },+ "worstBalanceDb": 0.6465117898309423,+ "preBalance": [+ {+ "id": "arp",+ "errorDb": -0.6465117898309423+ },+ {+ "id": "melody",+ "errorDb": 0+ }+ ],+ "postBalance": [+ {+ "id": "arp",+ "errorDb": -0.6387292143059753+ },+ {+ "id": "melody",+ "errorDb": 0+ }+ ],+ "pass": true+ },+ {+ "name": "nocturne",+ "masking": {+ "pass": true,+ "shareOfBarsClear": 0.8125,+ "worstMarginDb": -0.16087384692870188,+ "meanMarginDb": 6.144776434857747+ },+ "worstBalanceDb": 1.5528339432854956,+ "preBalance": [+ {+ "id": "rh",+ "errorDb": 0+ },+ {+ "id": "lh",+ "errorDb": 1.4589767519197459+ }+ ],+ "postBalance": [+ {+ "id": "rh",+ "errorDb": 0+ },+ {+ "id": "lh",+ "errorDb": 1.5528339432854956+ }+ ],+ "pass": true+ }+]\ No newline at end of filediff --git a/work/S7a/mix-diagnostics.json b/work/S7a/mix-diagnostics.jsonnew file mode 100644index 0000000..d880218--- /dev/null+++ b/work/S7a/mix-diagnostics.json@@ -0,0 +1,147 @@+{+ "rows": [+ {+ "bar": 0,+ "melody": -46.587505420453724,+ "masker": -46.45126316700002,+ "margin": -0.13624225345370178+ },+ {+ "bar": 1,+ "melody": -35.7417248095995,+ "masker": -44.90358132055408,+ "margin": 9.161856510954578+ },+ {+ "bar": 2,+ "melody": -36.90703744965769,+ "masker": -40.9384477435914,+ "margin": 4.031410293933703+ },+ {+ "bar": 3,+ "melody": -33.29093079325601,+ "masker": -39.634398090653285,+ "margin": 6.343467297397275+ },+ {+ "bar": 4,+ "melody": -33.21673090356883,+ "masker": -43.43218987136345,+ "margin": 10.215458967794618+ },+ {+ "bar": 5,+ "melody": -33.73987192816063,+ "masker": -41.7153682158293,+ "margin": 7.975496287668669+ },+ {+ "bar": 6,+ "melody": -31.217010939254394,+ "masker": -41.52498843174149,+ "margin": 10.307977492487097+ },+ {+ "bar": 7,+ "melody": -30.562423405059754,+ "masker": -39.38390427798297,+ "margin": 8.821480872923217+ },+ {+ "bar": 8,+ "melody": -32.010802075116146,+ "masker": -40.329009145939565,+ "margin": 8.31820707082342+ },+ {+ "bar": 9,+ "melody": -29.785701804678453,+ "masker": -36.73405044540428,+ "margin": 6.9483486407258255+ },+ {+ "bar": 10,+ "melody": -29.53997049064006,+ "masker": -32.62074247017599,+ "margin": 3.080771979535932+ },+ {+ "bar": 11,+ "melody": -36.98950977959381,+ "masker": -39.907812163046614,+ "margin": 2.9183023834528043+ },+ {+ "bar": 12,+ "melody": -38.692580712574774,+ "masker": -43.967140639389015,+ "margin": 5.274559926814241+ },+ {+ "bar": 13,+ "melody": -36.272514199262794,+ "masker": -45.66242563390204,+ "margin": 9.389911434639245+ },+ {+ "bar": 14,+ "melody": -41.466612512797965,+ "masker": -43.762932280588,+ "margin": 2.296319767790031+ },+ {+ "bar": 15,+ "melody": -45.24125767061538,+ "masker": -46.55166574144133,+ "margin": 1.3104080708259502+ }+ ],+ "selected": [+ {+ "role": "full",+ "notes": 79,+ "excess": 0.3882091282313178,+ "fraction": -5.9201404002986,+ "eq": {+ "bells": [+ [+ 1400,+ 0.45,+ -3.6479157598208403+ ]+ ]+ }+ },+ {+ "role": "bass",+ "notes": 34,+ "excess": 0.20052830015233525,+ "fraction": -7.438958225410442,+ "eq": {+ "bells": [+ [+ 1400,+ 0.45,+ -2.736625064753735+ ]+ ]+ }+ },+ {+ "role": "accomp",+ "notes": 45,+ "excess": 0.3882091282313178,+ "fraction": -5.751901517836895,+ "eq": {+ "bells": [+ [+ 1400,+ 0.45,+ -3.748859089297863+ ]+ ]+ }+ }+ ]+}\ No newline at end of filediff --git a/work/S7a/mix-diagnostics.mjs b/work/S7a/mix-diagnostics.mjsnew file mode 100644index 0000000..4d97a8a--- /dev/null+++ b/work/S7a/mix-diagnostics.mjs@@ -0,0 +1,22 @@+// Historical experiment. Requires withdrawn mix exports; not runnable on the delivered part 1 code.+import { build } from '../../skills/anidoodle/engine/node_modules/esbuild/lib/main.js';+import { loadBanks, soundIds } from '../../skills/anidoodle/engine/tools/sounds.mjs';+import { writeFileSync } from 'node:fs';+const root = new URL('../../skills/anidoodle/engine/', import.meta.url).pathname;+const js = (await build({ stdin: { contents: 'export * from "./src/canvas-core/music/index"; export { recordedEq } from "./src/canvas-core/music/mixProfiles";', resolveDir: root }, bundle: true, write: false, format: 'esm' })).outputFiles[0].text;+const M = await import('data:text/javascript;base64,' + Buffer.from(js).toString('base64'));+const p = M.nocturne(); loadBanks(M, process.argv[2], soundIds(p));+const r = M.renderPiece(p, 48000), pl = M.maskingPlan(p, { seconds: r.L.length / 48000, perf: r.perf });+const bands = Object.fromEntries(pl.roles.map(role => [role, M.roleBandDb(p, 48000, pl.opts(role), pl.spans)]));+const rows = pl.spans.map((_, bar) => ({ bar, melody: bands.melody[bar], masker: Math.max(...pl.roles.filter(x => x !== 'melody').map(role => bands[role][bar])), margin: bands.melody[bar] - Math.max(...pl.roles.filter(x => x !== 'melody').map(role => bands[role][bar])) }));+console.table(rows);+const selected = [];+for (const role of ['full', 'bass', 'accomp']) {+ const keys = role === 'full' ? r.perf.parts[1].keys : r.perf.parts[1].keys.filter(k => k.role === role), bank = M.bankFor('piano');+ const zones = M.sampleZones(bank, keys.slice().sort((a,b)=> a.t-b.t || a.p-b.p), p.seed + 1, r.perf.pedal), spectra = zones.map(z => bank.trim.find(t=>t.file===z.zone.file));+ const median = xs => xs.sort((a,b)=>a-b)[Math.floor(xs.length/2)];+ const excess = median(spectra.map(t=>t.bandExcessDb)), fraction = median(spectra.map(t=>t.bandFractionDb));+ selected.push({ role, notes: keys.length, excess, fraction, eq: M.recordedEq({}, 'accomp', excess, fraction) });+}+console.log(JSON.stringify(selected));+writeFileSync(new URL('mix-diagnostics.json', import.meta.url), JSON.stringify({ rows, selected }, null, 2));diff --git a/work/S7a/music-unit-final.log b/work/S7a/music-unit-final.lognew file mode 100644index 0000000..5742615--- /dev/null+++ b/work/S7a/music-unit-final.log@@ -0,0 +1,41 @@+(node:90355) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.+(Use `node --trace-warnings ...` to show where the warning was created)+ ok launchLofi3 md5 d20789f2344e6fff0d2a380c7c7825d2 (48 kHz), -14.00 LUFS, -1.91 dBTP+ ok mood controls: 0.5 on all five = identical audio; warmth/space moved = different audio+ ok missing harmony, melody, voicing, groove, form, mood: each throws; the score scaffold is empty and refuses to play+ ok notation: a short final bar throws with the rest to write (C2:3 -> C2:3 r:1); compose refuses it+ ok 15 groove families x 8 meters: 1685 bars parse, deterministic, seed-varied+ ok 21 style vocabularies compose, render (true peak <= -1 dBTP), master; uncalibrated palettes meet their stem targets on the test signal+ ok lofiElectronic (calibrated on the listened launch score): stems within +-3 dB, worst counter -1.1 dB+ ok hot sub: mix -14.0 LUFS (passes), stem meter flags bass +9.0 dB+ ok loop: seam step 0.0044 <= p99.9 0.2361, deterministic+ ok fit 70 s: 25 bars at 86.6 bpm, last onset 66.80 s on Cmaj9+ ok fit 90 s: 33 bars at 88.7 bpm, last onset 86.80 s on Cmaj9+ ok fit 110 s: 41 bars at 90.0 bpm, last onset 106.92 s on Cmaj9+ ok filmAudio: exactly the film's length+ ok fit: a score composed to 17 s keeps 123 bpm (natural end 17.49 s: the tail takes the difference); 21.4 s is refitted+ ok lines: a short line warns; loopLines repeats it to fill the section+ ok levels: a dB offset on top of the calibrated gain+ ok section energy scales the dynamics of every part+ ok written grooves cycle from each section's first bar+ ok timpani in a drum lane is tuned to the key+ ok per-section key: the key check reads each key region+ ok Db lydian leaning on Ab is accepted (scale fits, tonic heard); a wrong key is still flagged+ ok stems: the lead may sit +3 dB over tolerance (guards win), not more+ ok stem meter: a part panned hard left reads as hard right (-29.0 dB both; v1 read the left channel only), a -40 dB tail does not dilute it (-23.01 vs -23.01)+ ok guards run on a 7/8 score (1 windows)+ ok harmony "~": the chord holds over the bar line (3 notes of 8 beats, not 6 restrikes), the bass keeps its line unless its bar is "~"; "~ F" holds into the bar, then changes+ ok comp: x strikes the chord sounding at that point, r rests, @VEL accents, ~ ties a push over the bar line; a comp bar that does not add up throws+ ok voicing "r": the chord part rests for that chord, the harmony still names it and its bass plays+ ok split bars: 3/4 changes on beat 3 (2+1), 6/8 3+3 eighths, 5/4 3+2 or its grouping (2+3), 7/8 4+3 eighths, explicit beats "C:1 F:2"; a wrong sum throws+ ok alternates: all 66 in every style sit within 0.05 dB of their target (cinematic piano lead -0.0, house synth lead 0.0; the blind composer needed +14 and +16.5)+ ok your own voice (gainDb left out) sits at the slot's target within 3 dB: cinematic lead piano -0.0, cinematic counter strings +0.1, house lead leadSynth -0.0, world arp guitar +1.9, folk chords strings -0.2, jazz bass bass +0.5, orchestral lead woodwind +0.0, lofiElectronic chords ePiano -1.4, suspense lead bowedSolo +0.3, playful arp marimba +1.5; its target is the corrected one (cinematic counter -16.4); gainDb: 2 = 2.00 dB over+ ok novelty: Daylight vs launchLofi3 = 0.699 (threshold 0.5): FAIL, as Alex heard it+ ok novelty: every demo vs every other demo passes (closest: chiptunePlayful vs driveElectronic 0.406)+ ok novelty: a transposed 6-note quote of a shipped line fails (5 reused fragments)+ ok novelty: launchLofi3's melody re-barred into 5/4 and transposed FAILS (similarity only 0.401, 6-note fragments 0, 8-note shapes quoted 10)+ ok novelty: nocturne's melody re-barred into 5/4 and transposed FAILS (similarity only 0.369, 6-note fragments 0, 8-note shapes quoted 38)+ ok voice cache: a hit renders bit-identically (md5 e67f3831), masking from cached role renders equals the serial guard; quickselect = sort+ ok peak report: bar 3 beat 2, lead A5 B5, hat+ ok render x.mp3 leaves an existing x.wav alone (no temp left behind); the parallel cached render equals a serial one (--verify)+music unit: 38 checks PASS in 211 sdiff --git a/work/S7a/page-scoredFilm.ts b/work/S7a/page-scoredFilm.tsnew file mode 100644index 0000000..0bdca1b--- /dev/null+++ b/work/S7a/page-scoredFilm.ts@@ -0,0 +1,3 @@+import { mountFilm } from '../../skills/anidoodle/engine/src/hosts/page';+import { scoredFilm } from './scored-film';+mountFilm(scoredFilm);diff --git a/work/S7a/scored-film.ts b/work/S7a/scored-film.tsnew file mode 100644index 0000000..f1ec554--- /dev/null+++ b/work/S7a/scored-film.ts@@ -0,0 +1,13 @@+import { makeLaunchFilm } from '../../skills/anidoodle/engine/src/canvas-core/launchTemplate';+import type { Material } from '../../skills/anidoodle/engine/src/canvas-core/music/compose';+import type { Film } from '../../skills/anidoodle/engine/src/canvas-core/film';+const plate: Film = { meta: { title: 'test plate', W: 320, H: 320, fps: 30, bpm: 120, durationFrames: 60 }, assets: { images: {} }, shots: [{ id: 'plate', start: 0, end: 60, draw: (c) => { c.fillStyle = '#204060'; c.fillRect(0, 0, 320, 320); } }] };+const score = (): Material => ({+ style: 'playful', title: 'S7a recorded film fixture', seed: 5, mood: 'curious', bpm: 120, key: 'G', mode: 'mixolydian',+ voices: { lead: { inst: 'harp', role: 'melody' }, chords: { inst: 'marimba', role: 'accomp' }, bass: { inst: 'marimba', role: 'bass' } },+ chords: { G: { voicing: '[D4 G4 B4]', bass: 'G2:1.5 D3:.5 G2:1 F2:1' }, F: { voicing: '[C4 F4 A4]', bass: 'F2:1.5 C3:.5 F2:1 E2:1' } },+ motifs: { a: 'B4:.5 D5:.5 G5:1 r:.5 F5:.25 E5:.25 D5:1', b: 'r:1 A4:.5 C5:.5 F5:1 E5:.5 C5:.5' },+ grooves: { main: { family: 'shuffle', density: 0.45, variation: 0.35 } },+ sections: [{ kind: 'groove', bars: 4, harmony: ['G', 'F'], lead: ['a', 'b', 'a', 'b'], groove: 'main', stretch: true }, { kind: 'outro', bars: 1, harmony: ['G'], lead: ['a'] }],+});+export const scoredFilm = makeLaunchFilm({ title: 'S7a proof', asks: [{ prompt: 'draw it', plate, label: 'proof' }], tagline: 'recorded score', install: ['local fixture'], bpm: 120, askBeats: 8, endBeats: 12, score });diff --git a/work/S7a/test-final.log b/work/S7a/test-final.lognew file mode 100644index 0000000..11b00d2--- /dev/null+++ b/work/S7a/test-final.log@@ -0,0 +1,339 @@++avsync+ PASS a 0-sample shift (0.00 ms) is measured as 0.00 samples (corr 1.000)+ PASS a 7-sample shift (0.15 ms) is measured as 7.00 samples (corr 1.000)+ PASS a -13-sample shift (-0.27 ms) is measured as -13.00 samples (corr 1.000)+ PASS a 96-sample shift (2.00 ms) is measured as 96.00 samples (corr 1.000)+ PASS a half-sample delay reads as 0.50 samples (sub-sample)+ PASS silence has no offset to measure (NaN, never a fake zero)+ PASS the onset of a cue at 1.000 s is found at 1.0000 s+ PASS a cue 10 ms late reads as 10.0 ms late+ PASS no cue near a frame: NaN, not the nearest noise+ PASS SubRip: numbered cues, comma milliseconds+ PASS an hour in, and a long line wraps to two+ PASS WebVTT: the header and dot milliseconds+(node:90000) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.+(Use `node --trace-warnings ...` to show where the warning was created)++camera+ PASS begin() transform and toScreen() agree (max 1.0e-12 px)+ PASS toWorld(toScreen(p)) = p at every depth, shake and rotation included (max 2.3e-13)+ PASS log2 midpoint of zoom 1 -> 2 is sqrt 2+ PASS look is eased linearly in world units (midpoint 650)+ PASS keys are hit exactly; held between equal keys; clamped past the last+ PASS ease linear runs 0 -> 1+ PASS ease in runs 0 -> 1+ PASS ease out runs 0 -> 1+ PASS ease inout runs 0 -> 1+ PASS inout is symmetric+ PASS hero plane scales by zoom exactly+ PASS a plane at depth z scales by 1/(D + z)+ PASS far planes shrink, near planes grow+ PASS projectCam / unprojectCam invert each other+ PASS stroke weight is zoom^0.35+ PASS no shake outside [from, to)+ PASS shake is a pure function of (seed, frame)+ PASS shake decays (6.56 px early vs 0.09 px late)+ PASS shake attacks over its ramp instead of starting at full amplitude+ PASS monoPath passes through every key+ PASS monoPath never overshoots its keys+ PASS monoPath never reverses inside a rising run+ PASS Camera monoZoom uses the same path (built once, same answers every call)+ PASS nested push: child translation is rotated and scaled by the parent+ PASS rejects duplicate key frames+ PASS rejects a fractional key frame+ PASS rejects zoom <= 0+ PASS rejects a camera with neither keys nor path+ PASS rejects an empty shake window+ PASS monoPath rejects non-increasing keys++craft (melody, harmony, rhythm, tension, mood metrics)+ PASS contour: C E G E C is an arch+ PASS contour: G F E D C descends+ PASS contour: a line within a semitone is level+ PASS leaps that keep climbing warn (15 leaps, 7 turned back)+ PASS leaps filled in by step pass+ PASS step share: stepwise line 0.75 > leapy line 0.00+ PASS arpeggio idioms (chiptune) get a note, not a warning+ PASS development: the same cell is exact+ PASS development: the cell a step up is a sequence+ PASS development: same rhythm, new intervals is varied+ PASS development: new rhythm and intervals is new+ PASS a developed motif returns (1.00) without a warning+ PASS a line where nothing returns warns+ PASS a photocopied motif warns+ PASS phrases ending on chord tones: 100 %+ PASS phrases ending off the chord warn+ PASS a last note off the home triad is named+ PASS the climax in the first bar warns+ PASS the climax at 67 % passes+ PASS vibes at C3 (5 st below F3) is an error+ PASS vibes at E3 (1 st below) is a warning: extended models exist+ PASS vibes in range: no range finding+ PASS a bass on E1 is its home, not out of range+ PASS cadences: V-I authentic, IV-I plagal, bVII-I modal+ PASS cadences: ending on V is half, V-vi deceptive+ PASS a piece ending V-I is home+ PASS a piece ending on V warns (away from home)+ PASS suspense may end open (a note, not a warning)+ PASS choral: parallel 5ths C-G to D-A warn+ PASS choral: contrary/oblique motion passes+ PASS rock: the same fifths are the idiom (a note)+ PASS orchestral: an octave-doubled voice moving is doubling, not a parallel+ PASS voice motion: a leap of the whole chord moves more than an inversion+ PASS a close C2-E2 third is mud+ PASS the same chord spread (C2 G2 E3) is clear+ PASS octaves are never mud+ PASS a melody buried under the chord voicing warns+ PASS metric weights 4/4: downbeat 4, mid-bar 3, beat 2, 8th 1, 16th 0+ PASS metric weights 6/8: dotted-quarter beats 2, eighths 1+ PASS syncopation: quarter notes on the beat = 0+ PASS syncopation: an 'and of 2' held over beat 3 counts+ PASS hip-hop with every hit on the beat: no syncopation warns+ PASS an anticipated kick grooves+ PASS a kick pattern that never repeats warns (groove consistency)+ PASS chord changes on off-beats warn+ PASS a section repeating the previous note for note is dead air+ PASS a piece with no arc warns (sections 0.69, 0.71, 0.69)+ PASS rise, peak, release (0.42 < > 0.75 < > 0.43) passes+ PASS a home-chord tutti climax reads as the peak (intro 0.23, verse 0.39, lean 0.64, climax 0.73, outro 0.31)+ PASS the same home chord thin and quiet is not the peak (peak: lean)+ PASS an EDM drop reads as the peak over its build (groove 0.46, build 0.63, drop 0.75, button 0.17)+ PASS a "drop" that thins out is not the peak (peak: build)+ PASS a flat curve warns, but a loop or a calm piece stays level on purpose (a note, not a warning)+ PASS calm at 72 bpm in major fits+ PASS calm at 150 bpm warns on tempo+ PASS calm in phrygian (minor family) warns on mode+ PASS calm in lydian (major family) passes: the family is the cue+ PASS craft never errors on taste: only impossible ranges are errors+ PASS launchLofi: no unplayable notes+ PASS launchLofi2: no unplayable notes+ PASS launchLofi3: no unplayable notes+ PASS nocturne: no unplayable notes+ PASS pianoPhrase8: no unplayable notes+ PASS musicBoxJoy: no unplayable notes+ PASS minorPianoMelancholy: no unplayable notes+ PASS cinematicAwe: no unplayable notes+ PASS chiptunePlayful: no unplayable notes+ PASS lofiNostalgic: no unplayable notes+ PASS marimbaCurious: no unplayable notes+ PASS harpTender: no unplayable notes+ PASS guitarWistful: no unplayable notes+ PASS celestaWonder: no unplayable notes+ PASS bellsHopeful: no unplayable notes+ PASS driveElectronic: no unplayable notes+ PASS folkCalm: no unplayable notes+ PASS ghostFixture: no unplayable notes+ PASS daylightCopy: no unplayable notes+ PASS blind/breach: no unplayable notes+ PASS blind/stillwater: no unplayable notes+ PASS blind/morningCrumb: no unplayable notes+ PASS blind/skywardKids: no unplayable notes++drums+ PASS same keys + seed = identical samples, every kit+ PASS every kit renders finite, bounded output+ PASS every GM piece of every kit sounds+ PASS repeated hits never clone: worst mean correlation 0.903 (brush kick/60) < 0.98, closest pair 0.994 < 0.998+ PASS velocity -> brightness on kick, snare, hat of every kit+ PASS an open hat is choked by the pedal hat (tail -56 dB)+ PASS stage: hat R 5.1 dB, ride -4.2, floor tom -5.1, kick 0.0+ PASS kick below 120 Hz stays mono (ICC 0.999)+ PASS a crash is wide (L/R correlation 0.88 < 0.9)+ PASS pieceOf: GM notes, part piece, kinds, inst defaults+ PASS lane kinds: a fourFloor snare lane is a clap, a swing hat lane a ride, written grooves keep their lanes+ PASS timpani rings at its note (98 Hz)+ PASS a timpani roll sustains (many strokes), deterministically+ PASS legacy: true renders the original soft kit++embedded film track+ PASS embedded stereo keeps every Float32 sample, including unclipped values+ PASS alternate sample rates keep the complete track duration+ PASS downsampling removes tones above the new Nyquist frequency+ PASS sample-rate conversion leaves the pinned 48 kHz master untouched++launchLayout+ PASS the chat derivation at k = 1 IS the desktop chat (one component, not two)+ PASS 16x9: the frame is 1920x1080+ PASS 16x9: every text role is at or over its minimum (prompt 34, bubble 26, card label 20, thread title 22, thread subtitle 18, button 24, tagline 30, install lines 30, footer 24, corner mark 24, feature words 96)+ PASS 16x9: window in frame, composer in window, button in composer+ PASS 16x9: the answer card (460 px) sits inside the thread+ PASS 16x9: prompts wrap to at most 3 bubble lines (1, 1)+ PASS 16x9: the corner mark sits below the chat window, never on it+ PASS 16x9: the install panel (980 px at 30.0 px mono) fits the frame's width+ PASS 16x9: the end card stacks title, line, panel, footer, all in frame+ PASS 16x9: a split beat's words and live UI have their own areas (side by side)+ PASS 1x1: the frame is 1080x1080+ PASS 1x1: every text role is at or over its minimum (prompt 38, bubble 32, card label 32, thread title 25, thread subtitle 24, button 27, tagline 34, install lines 33, footer 32, corner mark 27, feature words 76)+ PASS 1x1: the lines a viewer must read are phone-safe (>= 32 px)+ PASS 1x1: window in frame, composer in window, button in composer+ PASS 1x1: the answer card (399 px) sits inside the thread+ PASS 1x1: prompts wrap to at most 3 bubble lines (1, 1)+ PASS 1x1: the corner mark sits below the chat window, never on it+ PASS 1x1: the install panel (1016 px at 32.9 px mono) fits the frame's width+ PASS 1x1: the end card stacks title, line, panel, footer, all in frame+ PASS 1x1: a split beat's words and live UI have their own areas (stacked)+ PASS 1x1: burned-in captions get their own band under the picture (150 px)+ PASS 4x5: the frame is 1080x1350+ PASS 4x5: every text role is at or over its minimum (prompt 41, bubble 32, card label 32, thread title 27, thread subtitle 24, button 29, tagline 37, install lines 33, footer 32, corner mark 29, feature words 84)+ PASS 4x5: the lines a viewer must read are phone-safe (>= 32 px)+ PASS 4x5: window in frame, composer in window, button in composer+ PASS 4x5: the answer card (623 px) sits inside the thread+ PASS 4x5: prompts wrap to at most 3 bubble lines (1, 1)+ PASS 4x5: the corner mark sits below the chat window, never on it+ PASS 4x5: the install panel (1016 px at 32.9 px mono) fits the frame's width+ PASS 4x5: the end card stacks title, line, panel, footer, all in frame+ PASS 4x5: a split beat's words and live UI have their own areas (stacked)+ PASS 4x5: burned-in captions get their own band under the picture (170 px)+ PASS 9x16: the frame is 1080x1920+ PASS 9x16: every text role is at or over its minimum (prompt 46, bubble 35, card label 32, thread title 30, thread subtitle 24, button 33, tagline 41, install lines 33, footer 33, corner mark 33, feature words 96)+ PASS 9x16: the lines a viewer must read are phone-safe (>= 32 px)+ PASS 9x16: window in frame, composer in window, button in composer+ PASS 9x16: the answer card (837 px) sits inside the thread+ PASS 9x16: prompts wrap to at most 3 bubble lines (1, 1)+ PASS 9x16: the corner mark sits below the chat window, never on it+ PASS 9x16: the install panel (1016 px at 32.9 px mono) fits the frame's width+ PASS 9x16: the end card stacks title, line, panel, footer, all in frame+ PASS 9x16: a split beat's words and live UI have their own areas (stacked)+ PASS 9x16: burned-in captions get their own band under the picture (230 px)+ PASS 16x9 refuses a burned-in band: its captions ship as .srt/.vtt+ PASS an install line that cannot be phone-safe is an error: launchLayout 9x16: install lines would be 22.1 px (phone-safe minimum 32 px). Sh+ PASS parseShapes reads a --shapes list+ PASS parseShapes refuses an unknown shape+ PASS every shape is the same cut (480 frames, cuts at 0, 120, 200, 320)+ PASS each shape renders at its own frame size+ PASS reshape returns the film itself for its own shape, and one film per shape+ PASS a film ask builds in every shape, the motif's seam matched+ PASS the first prompt is the hero: 16x9 68 px, 1x1 68 px, 4x5 68 px, 9x16 68 px (>= 64 on a phone frame, 56 on 16x9)+ PASS a first prompt too long for a readable hook is an error, never tiny type+ PASS a word page re-sets its lines for a narrow frame (16x9: 1 line, 9x16: EVERY NUMBER, / COUNTED.)++launchSound+ PASS a key cue for every character typed on screen (27 of 27)+ PASS the space bar has its own sound+ PASS keys land in typing order+ PASS ask 0: the press is on the frame Generate goes down (46)+ PASS ask 0: the drop lifts and blooms on its frames (56, 70)+ PASS ask 0: the card lands on its spring's first arrival (92)+ PASS ask 1: the press is on the frame Generate goes down (246)+ PASS ask 1: the drop lifts and blooms on its frames (256, 270)+ PASS ask 1: the card lands on its spring's first arrival (292)+ PASS panned to where it happens: press 0.31, 0.31, bloom -0.21, -0.21+ PASS every cue's screen x is on screen+ PASS one riser and one impact, both at the reveal (frame 400)+ PASS no whoosh or swish anywhere+ PASS nothing on the cuts into or out of a word page (120, 200)+ PASS word pages are silent (no cue inside a type frame)+ PASS the mix is the film's length (18.67 s)+ PASS every cue audible over the score (37 cues, worst margin -5.5 dB vs floor -6; 9 raised)+ PASS the mix's true peak is under the ceiling (-2.06 dBTP)+ PASS a cue buried 30 dB under the score is caught, not shipped+ PASS 60 fps: 1120 frames, every cue on the same instant (within one 60 fps frame)+ PASS sync markers are the presses and the impact (46, 246, 400)+ PASS sfx: false emits no cues+ PASS a film with no score still has its cues (the riser untuned: air)++launchTemplate+ PASS a composed Material is accepted as the score+ PASS film audio exposes its fitted score so hosts load only its recorded instruments+ PASS refuses our launch score by identity+ PASS refuses our launch score's material by identity+ PASS refuses a demo+ PASS refuses a retitled copy of our launch score+ PASS refuses retitled launch material+ PASS refuses the transposed copy of our launch score (the Daylight fixture)+ PASS a missing score is an error, never a default+ PASS the score plays at the film's bpm exactly (120 bpm, 9 bars + 2 to ring, at the film's 120 bpm)+ PASS the film is whole bars of the score (660 frames = 11 bars of 60 frames)+ PASS every cut sits on a downbeat (0, 240, 480; end card at 480)+ PASS every downbeat before the final ritard lands on its bar, worst 0.000 ms+ PASS the score (9 bars) ends inside the film and rings out on its last frame+ PASS the bed is that 120 bpm render at one gain, exactly the film's 22 s (max deviation 3.0e-8)+ PASS a score that cannot fit throws with the fix: launchTemplate: the score cannot end on a bar of this film at 120 bpm without changing its...+ PASS bed at -14 LUFS or held by the -1 dBTP ceiling (-15.70 LUFS, -1.00 dBTP)+ PASS without limit the ceiling wins and says so in the loudness (-15.35 LUFS)+ PASS limit: true reaches -14 LUFS under -1 dBTP (-14.01 LUFS, -1.36 dBTP)+ PASS a solved ask is longer, not slower (end card on bar 7 at frame 420, 0 slowed segments)++recorded rooms+ PASS unregistered room falls back bit for bit+ PASS registered room leaves dry mix and stems untouched+ PASS recorded wet signal changes and is deterministic+ PASS room sha256 pins voice and guard job keys+ PASS room renders are identical through cache hits+ PASS 24 kHz recorded room renders finite and deterministically+ PASS predelay and 40 ms early/late split keep their timing+ PASS er and late independently control the recorded reflections and tail+ PASS replacing a room invalidates jobs and cache identity+ PASS invalid room PCM is rejected before registration+ PASS conv: missing room preserves every wet channel bit for bit+ PASS plate: missing room preserves every wet channel bit for bit+ PASS fdn: missing room preserves every wet channel bit for bit++sampler+ PASS two-semitone repitch is within 3 cents+ PASS 24 kHz stems render finite and in tune+ PASS in-tune 48 kHz mono keeps original attack frames above the layer centre+ PASS normalized dynamics stay expressive and soft notes retain their attack spectrum+ PASS unnormalized layers retain the source's level relationship+ PASS middle-register damper is silent 1 s after lift; pedal holds; undamped rings+ PASS the pedal feeds a room halo and pedal:false disables it+ PASS pedal spans use the piano's inclusive down, exclusive up boundary+ PASS bass dampers close slowly; top grand keys have no dampers+ PASS vibes and upright top keys still have dampers+ PASS out-of-range note throws with note name and playable range+ PASS per-note cents and dB are applied+ PASS unpitched zones never transpose, including cents variation+ PASS deterministic output; changing seed cannot change a single recording+ PASS nearest pitch is chosen before the nearest velocity layer+ PASS round robins never repeat back to back, even with identical note seeds+ PASS each note's own seed owns its round robin+ PASS a changed fallback seed changes round robins only+ PASS repeated-note renders are bit-identical+ PASS a missing layer never pulls a note to a farther pitch+ PASS default centres split layers at 1/3 and 2/3, boundaries choose the harder layer+ PASS manifest centres override defaults; played velocity owns the layer, tone only shapes the filter+ PASS sus only for strikes under the pedal, including both boundaries+ PASS missing sus at the ordinary pitch/layer falls back to ordinary+ PASS pedal:false never selects a sus recording+ PASS rel fires once at key-up for its exact recorded duration+ PASS a caught note fires rel at pedal-up, once+ PASS restruck notes release at each actual key-up, never at the artificial string choke+ PASS rel is 15 dB below the remaining string level, later releases are quieter+ PASS undamped instruments never add rel+ PASS undamped grand treble never adds rel+ PASS sus and rel round robins render deterministically+ PASS rel outside the two-semitone allowance is skipped+ PASS articulations belong in the bank identity+ PASS relative filter uses the chosen centre, bypassing at and above it+ PASS filter-off plays unity-rate PCM with only its dynamic gain+ PASS non-normalized gain is unity at the layer centre, gently relative below and above, silent at zero+ PASS normalized banks use exactly the modeled piano velocity law, including its soft-register level compensation+ PASS pitch/layer calibration is deterministic from PCM and fixed modeled references+ PASS calibration never changes recording PCM or tone+ PASS healthy calibrated layers meet fixed references and preserve at least the modeled dynamic range+ PASS calibrated non-normalized notes add only a bounded relative adjustment+ PASS zone corrections stay within 9 dB of the instrument median, while the whole-instrument trim is unlimited+ PASS only zones needing excessive upward correction trigger louder-layer fallback+ PASS excessive downward corrections are capped too, without promoting an already-loud zone+ PASS quiet zones use the next louder layer at the same pitch, with deterministic non-repeating round robin+ PASS louder-layer fallback is brought down only by the gentle bounded relative gain+ PASS a quiet zone without a louder layer keeps its capped correction, never changes pitch or disappears+ PASS protection skips still-quiet and missing layers, staying at the selected pitch+ PASS louder-layer protection keeps sus tied to pedal-at-strike and ordinary playback otherwise+ PASS invalid layerVelocity is rejected+ PASS stereo channel phase and level survive playback+ PASS sinc removes above-Nyquist energy before pitch-up and 24 kHz downsampling+ PASS browser-safe bank identity agrees with SHA-256+ PASS sparse banks allow wide shifts; measuredHz does not retune the recording+ PASS nocturne: no-bank audio matches the pre-change md5+ PASS marimbaCurious: no-bank audio matches the pre-change md5+ PASS sampled jobs carry the bank hash and cannot hit modeled cache entries+ PASS sampled stems run the existing lo-fi, amp and transient chain in order+ PASS sampled:false retains exact modeled audio+ PASS legacy pieces never use a registered bank+ PASS variants are exact bank ids, with no bare-id fallback+ PASS replaced banks invalidate jobs instead of silently serving another voice+ PASS sustained zones without loops are rejected++TESTS: PASS 315 passed, 0 faileddiff --git a/work/S7a/trial-pack.json b/work/S7a/trial-pack.jsonnew file mode 100644index 0000000..96ea808--- /dev/null+++ b/work/S7a/trial-pack.json@@ -0,0 +1,111 @@+[+ {+ "name": "marimbaCurious",+ "masking": {+ "pass": true,+ "shareOfBarsClear": 1,+ "worstMarginDb": 3.5834818499279137,+ "meanMarginDb": 5.686326011510393+ },+ "worstBalanceDb": 0.7209887447289169,+ "preBalance": [+ {+ "id": "ostinato",+ "errorDb": 0.33419108584844537+ },+ {+ "id": "hook",+ "errorDb": 0+ },+ {+ "id": "low",+ "errorDb": -0.23452811189271117+ },+ {+ "id": "halo",+ "errorDb": 0.7209887447289169+ }+ ],+ "postBalance": [+ {+ "id": "ostinato",+ "errorDb": 0.3207660584639278+ },+ {+ "id": "hook",+ "errorDb": 0+ },+ {+ "id": "low",+ "errorDb": -0.0037444267306874224+ },+ {+ "id": "halo",+ "errorDb": 0.7172395233452171+ }+ ],+ "pass": true+ },+ {+ "name": "harpTender",+ "masking": {+ "pass": true,+ "shareOfBarsClear": 1,+ "worstMarginDb": 8.467297687346395,+ "meanMarginDb": 12.335855775637308+ },+ "worstBalanceDb": 0.7120556178141371,+ "preBalance": [+ {+ "id": "arp",+ "errorDb": -0.6465117898309423+ },+ {+ "id": "melody",+ "errorDb": 0+ }+ ],+ "postBalance": [+ {+ "id": "arp",+ "errorDb": -0.7120556178141371+ },+ {+ "id": "melody",+ "errorDb": 0+ }+ ],+ "pass": true+ },+ {+ "name": "nocturne",+ "masking": {+ "pass": false,+ "shareOfBarsClear": 0.6875,+ "worstMarginDb": -1.0005167231950551,+ "meanMarginDb": 5.2963439963968835+ },+ "worstBalanceDb": 1.5025496097738973,+ "preBalance": [+ {+ "id": "rh",+ "errorDb": 0+ },+ {+ "id": "lh",+ "errorDb": 1.4589767519197459+ }+ ],+ "postBalance": [+ {+ "id": "rh",+ "errorDb": 0+ },+ {+ "id": "lh",+ "errorDb": 1.5025496097738973+ }+ ],+ "pass": false+ }+]\ No newline at end of file