Commit graph

445 commits

Author SHA1 Message Date
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
30691ab213 Merge pull request 'Daemon: POSIX artifact URIs; tests find session files through StoreFileName' (#25) from aqua/artifact-uri-posix into main 2026-11-10 18:12:28 +00:00
Aqua
b14376906d Daemon: POSIX artifact URIs, and tests name store files through StoreFileName
ToArtifactUri prefixed a bare "file:///" so /tmp/x became file:////tmp/x, which Uri reads as a UNC host:
the render receipts' Float32Uri/WavUri pointed at nothing on Linux. Separately, session and live-session
receipts are written as StoreFileName.From(id).cc and the compile key is uppercase hex, so the name gains a
hash suffix; four native-Faust daemon tests still looked for the raw id. Both only show where native Faust
compiles (they return early when it does not), so they were red on every Linux host with Faust.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 18:12:21 +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
d56224e432 Merge pull request 'aqua-ear: audio perception tool (spectrogram, onsets, detectors, compare)' (#24) from aqua/aqua-ear into main 2026-11-10 17:36:55 +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
8744975094 Merge pull request 'aqua-feel: diff faustwasm against the native libfaust path (unheard)' (#20) from aqua/aqua-feel-native-diff into main 2026-11-10 14:01:40 +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
a3a52b9b1b Sources doc: Burg LPC F1 before/after restated with its window; the 100-200 ms figures reproduce within 1 point, the 70-150 ms table reads differently, and i and u stay 5-17 percent high
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 03:23:11 +00:00
Aqua
58ab238ab6 Correct overstated claims about the wall term and the junction fix (comments and sources doc): under 1 dB holds for f0 only (200/300 Hz harmonics +1.5 dB on one open vowel), the closed-tract bar is a second-order roll-off about 25 dB down above 300 Hz, back-vowel F1 error restated from Burg LPC
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 23:28:21 +00:00
Aqua
1f1c5fc212 Tests guard the wall band edges and the nasal reflection coefficient: wall bar levels by band (5-40, 90-200, 230-300 Hz) kill the 20 Hz high-pass and 150 Hz low-pass mutants; the shut-mouth velum-open first resonance (520 Hz) kills refl_nose = (Yv - sumY)/sumY
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 23:28:21 +00:00
Aqua
05efdc9e28 Sources doc: render verification re-measured after the junction, nasal, stress and wall-radiation changes
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 14:36:10 +00:00
Aqua
a84425128a Nasal path carries its damping (loss .997 to .975 per cell, about 380 Hz bandwidth): murmur /m/ -4.2 to -11.8 dB, /n/ -2.2 to -9.6 dB re the flanking vowels
The junction fix (previous commit) let the nose take its proper share and the murmur rose to within 2-4 dB of the vowels; the nasal cavity is the most heavily damped part of the tract. Nasal N1 and first-zero tests still pass (N1 /m/ 320 Hz, /n/ 370 Hz).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 14:30:02 +00:00
Aqua
bec55d0937 Nasal junction scatters on its own interface (cells 10 and 11, not 11 and 12): back-vowel F1 12-26% high becomes 1.5-9% high; five skipped tests run
The velopharyngeal junction summed the areas of cells cell and cell+1 and used their coefficients for R(cell) and L(cell-1), which sit on the interface between cell-1 and cell, so the pharynx carried the next step's reflection with the wrong sign (/o/ at cells 10-12: .52 .33 .52). Isolated by the numpy copy of the ladder against the lip wave of the rendered ladder under an impulse. F1 render against tube chain, uh 580/549, ah 690/650, aw 550/516, o 520/477, oo_short 500/478; they pass the 10 percent band and the Skip is gone.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 13:40:42 +00:00
Aqua
e5c723518f Closed-mouth nose tests read above 600 Hz: the tract wall now radiates a voice bar below 300 Hz with the mouth and the velum shut
Open against shut velum above 600 Hz: /m/ 8.0e-4 against 2.4e-5, mouth shut 1.3e-2 against 3.3e-4. Before, the whole-band rms (open 2.5e-2 against shut 9.3e-3) fell under the 5x and 10x thresholds the wall radiation commit left behind.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 13:40:42 +00:00
Aqua
fd11f92cae Tract wall radiation: the first-cell pressure, band-limited to 90-300 Hz, radiates through the wall; a voiced closure carries a voice bar
A word-initial /b/ closure was 0.0000 (below 16 bits): the shut mouth passes nothing and no other path existed. Wall radiation reads R0+L0 of each glottal path (the ladder returns it beside the lip waves) and adds a gain-0.7 term: /b/ closure -30.0 dB re the following vowel, /p/ -40.9 dB, a vowel's f0 harmonics move under 1 dB.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 13:27:49 +00:00
Aqua
b7c1dc0a41 Stress amplitude cue 1.26 to 1.30 (secondary 1.14): rendered primary stress +1.7 to +2.0 dB mean over five vowels, /i/ in /nibu/ +0.99 to +1.64 dB
The f0 rise alone moves the level -1.3 to +1.8 dB by vowel through the harmonic/F1 interaction, so the amplitude factor is held to the rendered result. Duration and f0 cues unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 12:58:59 +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
563a6a8e1f Stress carries duration, amplitude and f0 (source pitch_ratio surface); plosive release burst from contact release_flow; vowels open the contact
Primary stress: duration 220/160, source flow x1.26 (+2 dB), f0 x1.06 (Sluijter & van Heuven 1996); secondary halfway (design value).
The exporter's contact term adds white noise shaped by stored pressure and 4*o*(1-o) of the opening, gain from release_flow.
Unheard.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 19:25:02 +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
671ff4ca01 Nasal side branch: the 19-section Dang & Honda nasal tract, a velopharyngeal port area (opening * 0.8 cm^2) instead of a 0.4 cm diameter, vowel_set consonants placed in cm (/m/ at the lips, /n/ on the alveolar ridge cell), velum shut = opening 0
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 18:58:59 +00:00
Aqua
b2d0363f2c Ladder lip termination is the area-derived one-pole open-end reflectance (g = 1); vowel tests held to 6% front / 10% back against the tube chain
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 18:36:55 +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
Aqua
d11fa6b6a0 Research note: the missing F2 of rounded back vowels is damped, not absent (Burg finds the pole the harmonic-line reading misses)
Unheard measurements.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 17:42:33 +00:00
Aqua
67c1290589 Vowels are Story 2008 measured area functions blended in log-area, not Gaussian tongue deformations from a grid-searched table
StoryVowelAreas owns the 11x44 table (CSV is the cited copy, a test compares every cell) and the IPA/descriptor -> vowel id lookup. vowel_set attaches the shapes to a morphology and registers /vocal/areas/<i>/area/vowel_<id> weights; DeformedAreaExpression (still the one area owner) blends them as exp(sum w ln A / max(1e-3, sum w)), the geometric mean when weights vanish, and lip_opening caps the lip cells. Vowel gestures raise their vowel to 1 and the rest to 0; VowelShapes and its nearest-anchor logic are gone. The scaffold runs 17.52 cm at 350 m/s (24 cells); ɪ ʊ e ɛ ʌ ɔ o join the IPA table. Scripts without vowel_set emit byte-identical DSP.

Unheard. Against the tube chain only ɪ and ɛ are within 6 percent at the scaffold lip reflection (-.82); the other nine vowels' tests are skipped, with the measurements in docs/research (radiation-model question open).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 17:37:14 +00:00
Aqua
fd9b38416c ProbeTimelineReport takes the sample rate instead of hardcoding 48000: block times and delay_samples follow the rate the caller renders at
IpaTrialOrchestrator passes its options.SampleRate through IpaGestureExperiment.WriteRound; the default stays 48000. Test: a speed step lands in a different block at 44.1 kHz than at 48 kHz and delay_samples scale with the rate (re-hardcoding 48000 fails it).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 17:35:18 +00:00
Aqua
080f236ef2 Articulatory tract sources, Story 2008 vowel area functions as data, independent formant estimators
docs/research/articulatory-vocal-tract-sources.md cites what the tract design takes from Story, Pink Trombone, VocalTractLab,
Maeda, Kelly-Lochbaum, nasal coupling and LF, with what could not be retrieved. The CSV is Story 2008 Table I (11 vowels, 44
sections). burg_formants.py (Burg LPC on a WAV) and tube_formants.py (frequency-domain tube chain on an area function) share no
code with the ladder. Unheard.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 16:13:29 +00:00
Aqua
1d859155d9 WordRender takes the Weksa phones line instead of hand-segmented phone specs; refuses bad input (3) and reports unsupported phones (4)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 04:43:20 +00:00
Aqua
11bcbd0621 Weksa phones line reader: strict typed parse, unsupported phones reported, stress moves only intensity
The DSL's IPA table becomes PatchScript.TryIpaDescriptor so the reader asks the one table instead of keeping its own.
Fixture is Weksa PR 16 at a7bc2478, byte for byte.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 04:43:20 +00:00
Aqua
3fe877cbf4 Radiation highpass is a fixed 200 Hz, not 40 + 500 * aperture
The corner sat at 540 Hz for a vowel, above /u/'s F1, and the envelope read that F1 at 450 Hz. The ladder's lip cell already carries the lip area; aperture stays the gain consonant closures use. Tests: u F1 250-350 and F2 near 876; i F1 band widened to 20% (the harmonic-line reading of i moves 230-260 Hz with the corner).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 04:29:17 +00:00
Aqua
0242f385e5 Vowel gestures keep the radiating aperture open: the lip cell already carries the lip area
The gesture also scaled the aperture (an output gain and highpass corner) by lip cm / 2.2, so /u/ (lip .05 cm) rendered 29 dB under /i/. A vowel now holds aperture at 1; consonant closures still use it. Test: /u/ rms within -10..+3 dB of /i/, F2 under 1000 Hz.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 04:04:03 +00:00
Aqua
f633804bd3 Vowel gestures: tract shapes found by grid search over the exported ladder
EmitVowelGesture now holds tongue index, tongue and lip diameters (cm) from anchors measured by impulse response toward textbook F1/F2 (i 271/2313, u 292/876, a 703/1084, plus ae, e, o, schwa), with the constriction opened. The old targets put a at 310/2130 and i at 620/1620 through the same ladder. Tests render the authored gestures end to end and read LPC envelope peaks.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 03:41:20 +00:00
Aqua
ec73200093 Callers of FaustEmitter that render at a known rate pass it: the ladder's cell length follows the sample rate
The vocal ladder has one cell per sample, so exporting at the 48 kHz default and rendering at 44.1 kHz (daemon, IPA trial, song worker, graph renderer) shifted every formant down 8%. Speech-loss surface and AquaLower still take the default; the wasm compile path has no rate.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 03:41:20 +00:00