Files
Sylpheed/docs/re/data/intro-audio-channel-census.txt
sylph-decoder ef4ea8fe86 re: the boot intro's audio output -- five live channels, not a stereo mix
Groundwork for the port's ask #4; it does not settle #4.

Captured the game's own output over the boot intro following the ALSA file-tee
recipe exactly -- paced pulse slave, --gpu=null, both mutes off. 148.02 s, 6ch
float32 48 kHz, 0.15-0.16 % silence against the 0.31 % the recipe page records
for its own clean run.

Provenance is the XMA probe rather than a screenshot, which is the right evidence
for an audio question: ADV's three contexts appear byte-exact (1294336 /
1118208 / 1171456), then the documented BGM_102 pair.

Five of the six channels carry distinct content; BR is 82 % silent and 11-15 dB
down. No channel is a copy of another -- the largest pairwise correlation is 0.70
between FL and FR.

That rules out a stereo mix, so 'ship one stream' cannot be right and the port's
held-wrong value stays wrong. It does NOT establish that summing is right, and
the 6-channel count is Xenia's hardcoded kFrameChannelsDefault -- what is
evidence is that five of them differ, which a stereo guest cannot produce.

NOT settled and named as such: the stream-to-channel mapping. The
cross-correlation of each captured channel against each decoded ADV stream has
not been run. One boot, one movie, and --gpu=null means no video cross-check.

Raw is 170 MB and is not committed; sent over share to the port.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wuu56cE8vJGTBtn1ppsk8v
2026-08-30 08:13:50 +00:00

35 lines
1.4 KiB
Plaintext

# The game's own audio output over the boot intro (Q9/#4 groundwork).
#
# 2026-08-30. Recipe: docs/re/audio-capture-alsa-file-tee.md, exactly.
# ARGV: run-canary --apu=alsa --mute=false --gpu=null --xma_param_probe=true
# ALSA file tee in front of a paced pulse slave; 6ch float32 @ 48 kHz.
# Raw is 170 MB and is NOT committed -- sent via share.
#
# PROVENANCE (better than a screenshot for an audio question): the XMA probe
# logged ADV's three contexts byte-exact against the disc --
# ctx0 packets=632 byte_size=1294336
# ctx1 packets=546 byte_size=1118208
# ctx2 packets=572 byte_size=1171456
# then two more (1150976 / 1269760) = the documented BGM_102 pair.
#
# CAPTURE QUALITY: 0.15-0.16 % silence on five channels, against the
# 0.31 % the recipe page records for its clean --gpu=null run.
#
# ALSA CHANNEL ORDER: captured i holds source [0,1,4,5,2,3], i.e. the
# labels below are FL FR BL BR FC LFE. Deterministic, not data loss.
#
frames 7105024 = 148.02 s, 6ch float32 @ 48 kHz
ch name peak dBFS rms dBFS %silent
0 FL -3.65 -22.26 0.16
1 FR -2.22 -20.89 0.15
2 BL -4.41 -24.77 0.15
3 BR -11.65 -36.06 82.18
4 FC -4.57 -24.81 0.16
5 LFE -4.66 -24.38 0.16
pairwise |r| > 0.5:
ch0(FL) vs ch1(FR): r=+0.6996
ch0(FL) vs ch4(FC): r=+0.5202
ch1(FR) vs ch5(LFE): r=+0.5639