Each header is a one-line summary, the environment it reads and its usage; the history, measurements and record numbers go. Only comment lines change: with comments stripped the scripts are byte-identical. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
30 lines
1.5 KiB
Bash
Executable File
30 lines
1.5 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
# Start the client in sound measuring mode: record the mix before and after the output limiter.
|
|
#
|
|
# scripts/soundprobe.sh [client args…] # play normally, press F9 when you hear it
|
|
# scripts/soundprobe.py # …then read the capture back
|
|
#
|
|
# Builds the `play` profile: a debug build stutters, and a stutter is a missed mix deadline, one of
|
|
# the mechanisms the capture has to tell apart.
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")/.."
|
|
|
|
cat <<'BANNER'
|
|
|
|
── benilla · sound measuring mode ─────────────────────────────────────────
|
|
Recording two mixes at once: what the game ASKED for (before the limiter)
|
|
and what you actually HEARD (after it). One file cannot tell those apart;
|
|
two can, and that is the whole question.
|
|
|
|
▶ PRESS F9 THE MOMENT YOU HEAR IT.
|
|
That stamps the exact sample. Without a mark I am scanning ten minutes
|
|
of audio guessing which second you meant; with one I read outward from
|
|
it. Press it every time — several marks is much better than one.
|
|
|
|
Then quit the client normally and run: scripts/soundprobe.py
|
|
───────────────────────────────────────────────────────────────────────────
|
|
|
|
BANNER
|
|
|
|
exec env WOW_SOUND_PROBE=1 cargo run -q --profile play -p benilla "$@"
|