| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .. | ||
| src | ||
| .gitignore | ||
| README.md | ||
Dings voices (Ratatoskr sender voices) - generator
Generates eight sender voices (aqua, eureka, heimdall, kiko, libby, nibu, void, weksa) times four notifications (mention, dm, message, invite) as Ogg Vorbis
48 kHz mono, a manifest.json in the shape Ratatoskr's dings.ts reads ({neutral, senders:{localpart:{motif:path}}}), measurements, and a static listening page.
Nobody has heard any output of this generator. The metrics describe the files; they are not verdicts.
src/voices.mjs- the voices and the shared rhythm family (event = rhythm, sender = timbre). Pure JS, deterministic; uses only the sample rate from../earcon-workshop/web/earcon.js.src/build.mjs <rawDir>- renders the 32 clips at unit scale.src/finish.py <rawDir> <outDir>- equal A-weighted exposure, Ogg encode, decode-back measurement, manifest,metrics.json(needs numpy and soundfile with Vorbis).src/metriclib.py,src/measure.py- measurements (true peak, A-weighted exposure, onset, end-of-clip checks).src/gen_page.py <publishDir>- writesindex.html(no autoplay) frommetrics.json,voices.jsonand theinspect_clips.pyoutput underfindings/.src/verify.py [dir]- checks the files against the limits and manifest schema.src/inspect_clips.py <rawDir> <outDir> <tag>- spectrogram + 1 ms envelope PNGs and onset lists for every Void clip, multi-note checks for Nibu.src/neutral_instrument.test.mjs- the neutral fallback's instrument id (NEUTRAL_INSTRUMENT_IDinvoices.mjs) is aDingCatalogid present intools/aqua-feel/lowered-dings/*.dsp.src/polyphony.test.mjs- a clip is the sum of per-note renders and notes do not depend on each other.- v3:
renderNoterenders each note in its own buffer with its own noise stream; Libby/Kiko notes that something follows end by the next onset and the last rings; Nibu has three no-glide proposals (NIBU_PROPOSALS, encoded underout/proposals/); Kiko is struck glass; Void's tick is a soft knock. - v4: Void has no tick (it was a second hit 95 ms into every note) and a note something follows ends by the next onset;
polyphony.test.mjsfails if a Void clip has more onsets than notes. Nibu's voice is proposal 3 (the 8 kHz 5-bit sine) for all four events; proposals 1 and 2 stay as alternates underout/proposals/, not in the manifest. - Not here: the rendered clips and the listening page. A staged copy, with the README of its measurements, is at
/opt/commons/handoff/aqua-dings-voices-20261110on Yggdrasil.
Sound regression guard over every clip this generator and the Earcon Workshop ship (onsets per note, clicks, clipping, true peak, tails, loudness): python3 tools/sound-guard/guard.py (see ../sound-guard/README.md).
Run: node src/polyphony.test.mjs && node src/neutral_instrument.test.mjs && node src/build.mjs raw && python src/finish.py raw out && python src/verify.py . (build.mjs also renders the four neutral fallbacks, Earcon Workshop warm-bell at default sliders with mention=warning, dm=waiting, message=message, invite=done, and finish.py equalises them to the same A-weighted exposure as the senders; out/manifest.json lists them under neutral).
Publishing (one place)
One dev, one URL: the listening page is https://minds.gamecult.org/aqua/dings/ (/srv/minds-web/aqua/dings/), always the latest version, overwritten in place. Do not publish per-hash pages any more. After building a publish dir (the Run line, then gen_page.py), run
python3 tools/publish-stable/publish_stable.py dings <publishDir> # idempotent; swaps the stable dir with a finished staging copy in one atomic exchange (renameat2, Linux): the URL is never missing or half-written, even if the run is killed; stale staging is removed by the next run
python3 tools/publish-stable/publish_stable.py banners # old per-version pages get a pointer banner; deletes nothing
The script stamps a banner and a VERSION file (publish dir name and AquaSynth revision) into the stable copy. The aqua-ear examples are published the same way to /srv/minds-web/aqua/ear/ (publish_stable.py ear <dir of runs>). Tests: python3 tools/publish-stable/test_publish_stable.py and test_interruption.py (kill at every mutation, concurrent reader). Nobody has opened these pages in a browser; every link and audio file on them was checked with curl over https.