forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on e3a8adf8679af9d034937f97ddef81563d025fc0Filtered to scripts/aac-tables/sbrpatchmap.pyClear filter

2026-08-20

probe(sbr-patchmap): infra for measuring the reference's real HF patch mapAhmet Kaan Gümüş · e3a8adf
probe(sbr-patchmap): infra for measuring the reference's real HF patch map

adts_to_pcm example lets our own decoder be driven through the same
one-band-at-a-time probe streams sbrpatchmap.py builds for the reference
decoder (needs an explicit same-rate-SBR AudioSpecificConfig -- plain
AacDecoder::new() never turns SBR on from bare ADTS). sbrpatchmap.py reads
reeln's ACTUAL header off our own decoder's EC_AAC_SBR_DEBUG dump
(start_freq=5 stop_freq=8 xover_band=0 -> kx=14 k2=43 n_q=3, matching the
ledger's fact but NOT sbr_hf.rs's real_file_tables() unit test, whose
guessed stop_freq/xover_band=3/2 gives a different kx=16 k2=29 header) and
ports build_patches to Python for a live prediction-vs-measurement diff.

Blocked before a single measurement: tone_core()'s isolated-MDCT-bin core
(sbrchirp.py) fails outright against this header/grid shape ("channel
element 0.0 is not allocated" / "Invalid data found", zero PCM decoded),
reproducing round-19's "isolated-tone encoding does not round-trip" dead
end on the real header instead of the round-18 SBR-engagement bug it was
first seen with. Not fixed this round -- see ledger for next steps.