Commits
Commits on
4c07cbc2ca9466907a3cbb5ccc7dab0eebf15b7eFiltered to scripts/aac-tables/sbrtables.pyClear filter2026-08-19
feat(ec-aac): close the eight envelope SBR Huffman codebook valuesAhmet Kaan Gümüş · 86f03f9
feat(ec-aac): close the eight envelope SBR Huffman codebook values The values-stage classifier misread the reference decoder's unconditional "channel element 0.1 is not allocated" complaint (fires on every mono sce probe regardless of range) as a crash signal, hiding in-range codewords as gaps; the discriminator is now whether the parser's byte count matches the full predicted frame length. ENV30_F/ENVB30_F needed their own two-envelope probe config since a lone envelope always forces the 1.5 dB resolution. All twelve SBR codebooks now close with Kraft sum 1 and full values.
feat(ec-aac): derive four SBR noise Huffman codebooks, black boxAhmet Kaan Gümüş · c53ad6b
feat(ec-aac): derive four SBR noise Huffman codebooks, black box
Wires the SBR table-derivation rig's widths/books/values stages into its
CLI and adds the value-assignment stage (bisecting a codeword's raw start
value to the reference decoder's own range-check boundary), then emits
the codebooks that closed with a complete, fully-valued prefix code:
NOISE_T, NOISE_F, NOISEB_T, NOISEB_F. The eight envelope books derive
lengths cleanly but each hit at least one codeword whose value probe
crashes the reference decoder rather than range-checking gracefully
("channel element 0.1 is not allocated"); they are left out of
sbr_tables.rs rather than shipped with a guessed value, per the rig's own
rule against fabricating table entries.