Commit graph AquaSynth/tools
Author SHA1 Message Date
Aqua
185eecafdc aqua-listen README: the kits in the repo and their build command
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-13 02:44:42 +00:00
Aqua
83bca175d0 Listen kit for the stop gestures: /ata/ /ada/ /aka/ /ala/ /apa/ /aba/ and the --no-burst twins
Predictions and measured figures sit in the hidden titles only; the /l/ title carries the F2 miss (725 Hz against a 1000-1300 design target).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-13 02:44:36 +00:00
Aqua
c19577b7cb Stop place: one place table owns the closure index; a non-labial plosive's burst enters the tract at its place
The place table in PatchScript (cm behind the lip plane, or fraction only) replaces PlaceTarget and
ConsonantPositionFromGlottis. A contact whose position has a control surface injects its burst into the
ladder at that place, scaled by cell area; the surface exists only once a non-labial plosive has driven it,
so /p b/ words keep their script and Faust source byte for byte. weak_spots.burst_spectrum measures the
isolated burst.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 17:50:15 +00:00
af0e44f9b6 Tract: burst gain no longer leaks past its plosive; 14-clip listening kit (#47)
Shipped by Aqua (Self) after Soul PASS (aqua-body:follow_up:soul-pr47-verdict-20261112; two Low findings). UNHEARD.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 16:49:16 +00:00
Aqua
7458fbd93c Dings migration: step 5a ties the neutral fallback id to the catalog mirror; steps 2, 3, 5b recorded as STOPPED with their unblockers
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 11:00:00 +00:00
e188424244 Merge pull request 'Dings: one play validation gate, Host enforces; bridge check deprecated (step 4)' (#45) from aqua/dings-migration-step4 into main 2026-11-12 10:57:20 +00:00
Aqua
d427f046b5 aqua-trial: isolate the noise-slider kill; LF-normalise the DSP hash on both sides
- test.mjs: a failing test no longer aborts the run, so a mutation shows every test that kills it.
- New test: the noise slider is live (noise 20 vs 100 differ, rasp-band ratio 0.2 at rpm 4800) while noise 100 stays identical to thruster.dsp.
- logic.js dspHash (CRLF folded to LF, then sha-256) is the one normalisation; the page export and analyze.mjs both use it. LF text hashes as before, so old exports stay valid.
- Tests: CRLF == LF hash, LF == plain sha-256, analyze CLI raises no foreign-DSP warning for a CRLF checkout.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 10:46:57 +00:00
Aqua
e3d1a7eeba Dings: one play validation gate (DingCatalog.PlayRejection), Host enforces; bridge check deprecated (migration step 4)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 10:46:34 +00:00
2e28f5699e Merge pull request 'Dings: DingCatalog.Identity owns patch identity derivation (step 1) + migration plan' (#42) from aqua/dingcatalog-owner-step1 into main 2026-11-12 10:41:57 +00:00
Aqua
f846dcbeae docs: cause of the dx7-algorithm-32 -79.5 dB native-vs-wasm diff (phasor increment rounding + si.smoo text)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 10:33:54 +00:00
Aqua
0f0de0dd8e Dings: DingCatalog.Identity owns PatchId/FaustName/revision derivation (step 1); record owner as ruled, migration plan
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 10:33:48 +00:00
Aqua
bae610237d native-diff test: centroid edge in literal numbers (0.9 % passes, 1.1 % trips); doc says LIMITS live in native-compare.js
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 10:23:17 +00:00
Aqua
a877001616 native-diff: LIMITS and the per-source comparison move to native-compare.js; native-diff.test.mjs trips each limit with a known perturbation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 10:12:37 +00:00
Aqua
8c61b76e16 aqua-trial: exports carry the DSP sha-256; analyze rejects hashless exports and keeps v5 out of the noise% context; tests pin the noise knob and mix identity at rpm 300-4800
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 09:53:30 +00:00
e9de895c39 Lowering: patch repeat restarts pitch and arpeggio, not the envelope; README store-kind rollback note (#37) 2026-11-11 09:27:29 +00:00
0b73d5d608 sfxr explosion + abstract golf: patch repeat no longer cuts the envelope; waivers removed (#36) 2026-11-11 07:30:59 +00:00
9f24e0b42b aqua-feel sync: --shape ramp for slow-swell visuals (measures, never gives a verdict) (#34) 2026-11-11 06:24:43 +00:00
84aa12d36d aqua-feel sync: read a browser capture's frame rate and stalls from its frame times (#33) 2026-11-11 02:59:52 +00:00
47dfc540f6 aqua-feel sync: audio-visual onset lag against perceptual windows (#32) 2026-11-10 23:42:58 +00:00
Aqua
652bf86f4a Pages: no horizontal overflow at 360px; trial hint names the play-both rule
Browser check (headless Chromium, 2026-11-10) found the dings page scrolling
to 846px and the playground to 381px at a 360px viewport, and the trial's
Next button staying disabled until both sounds are played while the hint
did not say so. Tables scroll inside themselves on narrow screens, the
playground select and labels may shrink, and the hint says to play both.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 22:12:32 +00:00
Aqua
28bfb64a7a gen_page: the neutral rows no longer pass a loudness-match argument
#29 dropped aud()'s match parameter but left the call in plain(): gen_page.py raised TypeError. Equalised
neutrals need no per-element volume, so the call and the unused neu table go.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 18:37:46 +00:00
Aqua
1df824d1e3 dings-voices: equalise the neutral fallbacks to the sender median in the generator
finish.py shipped the four neutral clips unmodified (decoded from the Ratatoskr handoff), 4.3-13.7 dB louder
than the senders. build.mjs now renders them (Earcon Workshop warm-bell, default sliders, the handoff's
mention/dm/message/invite = warning/waiting/message/done mapping) and finish.py scales them to the sender LAE
target, which they do not move; they must fit under the true-peak limit there. The generator no longer reads
the handoff dir, so sound-guard drops its --neutral/config and its four known_failures: 0 failing, 0 known.
gen_page loses the now-pointless loudness-match checkbox.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 18:36:54 +00:00
e8c7cc240c Merge pull request 'sound-guard: aqua-ear checks over every shipped Dings and Earcon clip' (#28) from aqua/sound-guard into main 2026-11-10 18:33:57 +00:00
Aqua
a7fc0b91b3 sound-guard: the rendering subprocess must not leave __pycache__ in dings-voices
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 18:32:50 +00:00
Aqua
797d67fc7c sound-guard: one command that checks every shipped Dings and Earcon clip with aqua-ear
Renders (or takes) the 32 sender and 4 neutral Dings clips and the 24 Earcon Workshop clips and asserts, per clip: one onset per intended
note on the full and high bands, no click/step/DC, no clipping, true peak under a ceiling, settled tails, loudness within a band of the
median. Thresholds live in thresholds.json with a reason each; aqua-ear's own boundaries are pinned. The four neutral fallbacks, 4 to 14 dB
louder than the sender clips, are recorded as expiring known failures. Tests mutate generated clips (v3 knock, clipped tail, click, step,
cut, DC, outlier, echo, late note, ring-over) and require the intended assertion to fail.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 18:32:34 +00:00
Aqua
c2afdbb6d5 publish-stable: swap the live dir with one atomic exchange; clean stale staging under a lock
The old swap renamed live aside and staging in: between the two renames /aqua/dings/ answered 404 (a
concurrent reader got FileNotFoundError), a kill there left it missing until the next run, and a killed
run leaked .stage-* dirs. Now renameat2(RENAME_EXCHANGE) swaps live and staging in one syscall, a
per-target flock serialises publishers, and the next run deletes stale staging. test_interruption.py kills
the publisher at every filesystem mutation (audit-hook counted), races readers against swaps, and fails
against the old code.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 18:21:45 +00:00
Aqua
f00abc1957 publish-stable: one script publishes the Dings and aqua-ear pages to one URL each
/aqua/dings/ and /aqua/ear/ are replaced in place (staging dir renamed over the old one, so a failed or
repeated run leaves a whole page); `banners` marks every older per-hash page with a pointer and deletes
nothing. Six stdlib tests: idempotence, replacement, refusal of a non-page, failed publish keeps the old
page, banners added once without touching content, ear index.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 18:15:45 +00:00
5d4c367b94 Merge pull request 'Articulatory tract: Story vowels, nasal branch, stress cue, plosive burst, independent Burg check (unheard)' (#19) from aqua/tract-articulatory into main 2026-11-10 18:13:33 +00:00
6906ae590e Merge pull request 'Vowel gestures calibrated by measurement; exporter sample rate from callers' (#18) from aqua/tract-voice into main 2026-11-10 18:13:29 +00:00
9d721c50a6 Merge pull request 'Speech: n descriptor, word script, WordRender; first /ˈnibu/ render (a hum, unheard)' (#17) from aqua/nibu-first-render into main 2026-11-10 18:12:40 +00:00
21e83ecc85 Merge pull request 'dings-voices v4: Void single onset, Nibu proposal 3 everywhere (unheard)' (#23) from aqua/dings-voices-v4 into main 2026-11-10 17:54:01 +00:00
Aqua
a85316033d dings-voices v4: pin that a followed Void note ends by the next onset; correct loudness text
Test 6: after note N+1 starts, note N is under -120 dB re its peak, for every Void clip
(fails with the cap reverted: invite note 0 still at -33.4 dB). Page text: the loudness target
moved ~0.005 dB (min over clips, set by void/mention) and Vorbis quantisation is not linear in gain.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 17:52:37 +00:00
Aqua
8760b395af aqua-ear: audio perception tool (spectrogram, onsets, envelope, detectors, compare)
Python (numpy, scipy, matplotlib, soundfile). Onsets at 1 ms on a full-band and a >2 kHz channel;
double hit, click/step/DC, clipping/true peak, overlapping tails, abrupt end detectors with stated
assumptions; compare mode. True peak and BS.1770 loudness ported from aqua-feel/metrics.js
(cross-checked against it in a test). 25 synthetic-fixture tests, each detector with a near-miss.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 17:36:03 +00:00
Aqua
5e9368cd3d dings-voices: inspect_clips tool and v4 page; drop findings.py
inspect_clips.py renders spectrogram/envelope PNGs and onset lists for Void and the multi-note
checks for Nibu. gen_page.py now writes the v4 page (unheard) from them. findings.py (v2 vs v3
numbers) had no consumer once the v3 page was published; removed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 17:31:39 +00:00
Aqua
7da6489a5c dings-voices v4: Void loses its tick, Nibu is proposal 3
Void's soft tick rode every note 95 ms in (190 ms in the mention): a second broadband hit
beside the tone, which is the double hit heard in v3. Removed at the source; a Void note that
something follows now ends by the next onset (invite's note 2 rang under note 3 and made a
second rise). polyphony.test.mjs fails if a Void clip has more onsets than notes (checked in
the full band and above 1.5 kHz, where a tick shows), and checks Nibu notes do not overlap.
Nibu's voice is proposal 3 (8 kHz 5-bit smoothed sine) for all four events; proposals 1 and 2
stay as non-default alternates.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 17:31:39 +00:00
a6b0c2c38a Merge pull request 'dings-voices: generator for eight Ratatoskr sender voices (unheard)' (#22) from aqua/dings-voices-generator into main 2026-11-10 17:08:49 +00:00
9f6daaed6e Merge pull request 'aqua-listen: listening-test kit (one self-contained page, verdict export)' (#16) from aqua/listen-kit into main 2026-11-10 17:08:37 +00:00
8c9edf3bc9 Merge pull request 'aqua-feel: effects shelf for overlay packaging (unheard)' (#10) from aqua/effects-shelf into main 2026-11-10 17:08:36 +00:00
Aqua
e9216b2f24 dings-voices v3: per-note rendering, Libby tails, Void tick, Kiko struck glass, three Nibu proposals (unheard)
Nobody has heard v3. Each note renders into its own buffer with its own noise stream (a clip is the sum; polyphony.test.mjs). Notes something follows end by the next onset, the last rings (Libby, Kiko). Void's release tick is a soft knock instead of a 0.5 ms click. Kiko is struck glass instead of bowed. Nibu's glided saw is replaced by three no-glide proposals. findings.py and gen_page.py produce the v2-vs-v3 numbers and page.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 15:18:55 +00:00
Aqua
35ed701689 dings-voices: generator for eight Ratatoskr sender voices (unheard)
Eight voices x four notifications on a shared rhythm family, Ogg Vorbis 48 kHz mono,
equal A-weighted exposure, manifest in the dings.ts shape, measurements (true peak, onset,
end-of-clip, pair distance) and a static listening page. Nobody has heard any output.
Imports only the sample rate from tools/earcon-workshop.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 15:02:59 +00:00
01719538f1 Merge pull request 'aqua-trial: add the v5 thruster mix as a variant (unheard, browser-unrun)' (#21) from aqua/trial-v5-variant into main 2026-11-10 14:03:15 +00:00
Aqua
46188d13a2 native-diff: fix report and header text found in review (tolerance wording, 13 sources, dx7-32 values, stray table cells)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 14:01:20 +00:00
Aqua
e0f3f18dd8 aqua-trial: add the v5 thruster mix (c6561da) as a variant against the current mix
The 2026-11-05 aqua-feel edit cut the idle rasp and rattle floors and opened the
rumble low-pass at low load, which narrowed the noise sweep. thruster-trial.dsp gains
a `mix` control (0 = current thruster.dsp, 1 = the v5 mix as cut) and the trial gains
the variant v5noise100: five variants, ten comparisons. thruster-v5-c6561da.dsp is the
old file, a fixture: test.mjs asserts mix=1 equals it sample for sample and mix=0 still
equals patches/thruster/thruster.dsp. analyze.mjs prints mix beside noise%.
Never run in a browser; nothing has been heard.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 13:57:58 +00:00
Aqua
4e6a64b311 native-diff: stdlib identity, 12 smoother sources under three smoothers, tolerance
Record which faustlibraries text each host compiles against (Starfire
2.85.5 has the stalling smooth; the sandbox master has imp(3)). Add
--items smoother and --smoother old|imp3 (same rewritten source on both
sides) and limits fit to the measured deltas; control matching normalises
the leading slash. Report extended; faustlibraries pin proposed, not made.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 06:44:09 +00:00
Aqua
878f91c062 native-diff: correct the cause (stdlib text, not the host) and harden the tool
A Soul pass found the two sides compile against different stdlib text:
the wasm bundle's si.smooth stalls in float32, the sandbox's faustlibraries
master does not. Reword the report, README and render.js; fail on length
mismatch and render errors; check output count; match controls exactly;
default output under the temp dir.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 06:31:54 +00:00
Aqua
e849c624f9 aqua-feel: diff faustwasm against the native libfaust path
Add FaustNativeRender and native-diff.mjs; render thruster, two sfxr
patches and a tract vowel through both and record the numbers.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 06:23:08 +00:00
Aqua
4eab1979bd Nasal stops hold their oral closure to 0.8 of the gesture: /n/ murmur -3.8 to -8.8 dB re the flanking vowels (/m/ -12.8)
The alveolar closure began to open at half the gesture while the velum and the contact held to 0.8, so the oral tract radiated over the last third of the murmur. verify_renders.py now measures the murmur on steady parts against the mean flanking-vowel power; the render test holds both nasals 8 to 16 dB under the vowels.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 12:50:59 +00:00
Aqua
5c32bf6453 Render verification: independent Burg/tube-chain table, stress and burst measurements, amplitude-cue test
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 19:36:19 +00:00
Aqua
7343b66709 tube_formants.py: nasal mode (port junction, Dang & Honda nasal table, oral side branch); spectrum_dips.py
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 19:14:35 +00:00
Aqua
f0711cc8b8 ladder_formants.py: --filtered option, the one-pole open-end lip reflectance (DC gain |g|, pole from the lip area); prototype for cut B1 step 0
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 17:45:39 +00:00