Commits
Commits on
24272c3302b88ee1252a0093d2c1921cfbafaec32026-08-21
Merge branch 'lane-silk2': SILK 40/60 ms and stereo packets, hybrid mode for SWB/FB mono and stereo, per-channel automatic mode tableAhmet Kaan Gümüş · a8db269Browse files
Merge branch 'lane-sweep': AVI audio through ec-riff/ec-probe with cross-chunk frame assembly; RIFF rejected cleanly by the mp4 door; truncated mp4/mkv tails end as incomplete, never corruptAhmet Kaan Gümüş · e01bc6fBrowse files
Merge branch 'lane-vorbisvq2': Vorbis floor at the masking threshold, masked residue zeroing, transient and stereo-angle masking; shim timing test pins packet granules and PCM onsetAhmet Kaan Gümüş · b4545afBrowse files
Merge branch 'lane-corr3': AAC decoder reports how many access units used PNSAhmet Kaan Gümüş · 09e998bBrowse files
Merge branch 'lane-vorbisvq': dim-2/dim-4 residue vector books and Bark-local masking in the Vorbis encoderAhmet Kaan Gümüş · eca8b3dBrowse files
Merge branch 'lane-corr': AAC PNS noise generator follows the reference seed and value conventionAhmet Kaan Gümüş · 20680e8Browse files
Merge branch 'lane-silk': SILK encoder covers NB/MB/WB at 10 and 20 ms, public Encoder routes 10/20 ms mono speech to SILKAhmet Kaan Gümüş · d5b5f3dBrowse files
Merge branch 'lane-alloc': one shared CELT allocation for encoder and decoder, parity grid testAhmet Kaan Gümüş · 9e6e30fBrowse files
Merge branch 'lane-oggseek': Ogg seek to stream head replays the first data page like a fresh openAhmet Kaan Gümüş · 4544c31Browse files
Merge branch 'vorbis-shim-timing': three-way Ogg timing regression test through the shim readerAhmet Kaan Gümüş · e44f0f4Browse files
Merge branch 'batch-hygiene': serialize perf tests under nextest, manifest sentinel, cover-art fixtures, warning/name cleanupAhmet Kaan Gümüş · d687174Browse files
Merge branch 'mp3-vbr': MP3 true VBR, masking threshold in MDCT units, silence fast path, quality calibrationAhmet Kaan Gümüş · 56d62ceBrowse files
fix(mp3): speed up VBR silenceAhmet Kaan Gümüş · f0cad7a
fix(mp3): speed up VBR silence Add a zero-granule fast path, make VBR candidate search local to the previous frame, and recalibrate the quality threshold curve on music clips.
2026-08-20
test(aac-sbr): full_chain_low_band uses top-K lag refinement and widens on a sub-bar winner (FMJ true lag 21566 sat outside the 20k bound)Ahmet Kaan Gümüş · 11270e5Browse files
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.
fix(mp3): state the masking threshold in MDCT power units so NMR means somethingAhmet Kaan Gümüş · 60c1bbb
fix(mp3): state the masking threshold in MDCT power units so NMR means something psy_threshold summed an unnormalised 1024-point FFT while code_with measures noise as summed squared MDCT lines; the two differ by exactly 2^17 (512 P per bin from the sine-windowed FFT, P/288 per line from the unity-gain filterbank and the 1/9-scaled 36-point MDCT, 512/576 bins per line), so every band read as "under its mask" and the model was inert. Derivation is in the doc comment; a unit test checks white noise lands the signal-to-mask offset over the mask. The -48 dB corner-cut in quality_threshold goes; the q mapping is 24 dB across the range, centred 4 dB over the mask (documented calibration: q 0.5 lands 210-225 kbit/s on mp3src-stereo-48000 and two real tracks, above the CBR-192 bar). The outer loop now takes the worst over-mask bands first; it still stops at the budget, because letting it run past (ISO style) costs 12-36% RMS under a model this coarse and the bars are an RMS metric (corner-cut noted inline). cbr_output_is_unchanged pinned bytes of the inert-model CBR; CBR bytes legitimately move now, so it is replaced by cbr_quality_holds_its_floor, gating corr >= 0.99999 and RMS <= 0.025% (the pinned stream measured 0.999999 / 0.020%).