forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 995148f9617e91d0dcba1be53c9fc14e41c9eb96Filtered to scripts/aac-tables/sbrvalues.pyClear filter

2026-08-20

fix(aac-sbr): 3 dB envelope/balance books carry their positive deltas (accumulation readout); lag search asserts off-bound; noise-fraction env nameAhmet Kaan Gümüş · 060a762
fix(aac-sbr): 3 dB envelope/balance books carry their positive deltas (accumulation readout); lag search asserts off-bound; noise-fraction env name

ENV30_F/ENV30_T/ENVB30_F/ENVB30_T had 0 for every positive delta: the
one-shot range-check readout cannot see a +d on the 6-bit 3 dB raw field
against the 7-bit ceiling. scripts/aac-tables/sbrvalues.py walks each
codeword out of range by delta-time accumulation instead (repeated T
frames; F words followed by trusted negative T steps) and picks the one
delta a simulator of the decoder's complaint reproduces on every probe.
All four books read back as exact permutations of -31..31 / -12..12 and
every trusted negative entry reproduced unchanged. reeln HF level per
band 0.58-0.93 -> 0.99-1.02 up to 22 kHz.

best_lag_correlation_ex widens to SEARCH_LAG_MAX on an at-edge winner and
asserts !at_edge for every caller; the noise-fraction probe now sets the
env name sbr_env actually reads.