Commit Graph
18 Commits
Author SHA1 Message Date
4DBug c291312f8a codecs/audio/Aac/SbrDct: straight-line DCT-IV / DST-IV for the SBR QMF banks; HE-AAC bench lines 2026-11-02 00:31:45 -06:00
4DBug 686a1fbf86 codecs/audio/Aac: HE-AAC (SBR) and HE-AACv2 (baseline PS) decoding
New shared modules under codecs/audio/Aac: Sbr (bitstream, band tables,
delta decoding), SbrBits, SbrQmf (32-band analysis / 64-band synthesis QMF
through DCT-IV), SbrHf (HF generation and adjustment), Ps (baseline PS),
SbrTables (ISO tables, from syom 0.8.1, MIT). Explicit signalling enables
SBR at construction; implicit SBR / PS is found by Decoder:probe /
Aac.probeFrames. audio/aac and audio/m4a report the output rate and take
opts.sbr = false for the core only; m4a scales iTunSMPB by the media tick.

Outside the folder: containers/AudioWrap writes an AAC-LC ADTS header for
HE-AAC AudioSpecificConfigs (the decoder finds SBR in the stream); the api's
default openAudio hook forwards opts.sbr.
2026-11-02 00:21:13 -06:00
4DBug 6ddc5b6017 merge ws/perf-audio (Ogg page CRC via core Crc32.msb from ws/perf-core) 2026-11-01 20:57:10 -06:00
4DBug a5a03ecb8d audio perf: FLAC keeps floor(x * inv) / floor(u * 0.5) (LuaJIT: a division is slower) 2026-11-01 20:07:09 -06:00
4DBug 688503fb2d audio perf: type annotations (lint baseline) 2026-11-01 19:50:56 -06:00
4DBug a2cd103674 audio perf: ALAC integer divisions 2026-11-01 19:45:14 -06:00
4DBug 738b881349 audio perf: Ogg page CRC slice-by-4, Opus comb filter index offsets 2026-11-01 19:44:18 -06:00
4DBug 5e71837637 audio perf: range decoder skips the normalize call when not needed, Opus single-stream block copy, AudioOps peak branch-free 2026-11-01 19:42:40 -06:00
4DBug 64b0c75a53 audio perf: SoundFont voice loop split on the filter, loop wrap without the isLooping test 2026-11-01 19:35:08 -06:00
4DBug 3905426eff audio perf: Tracker mixer fast path for filtered mono voices 2026-11-01 19:33:29 -06:00
4DBug 0d05130526 audio perf: Tracker mixer fast path for mono interpolated voices (after the ramp, unchecked while in range) 2026-11-01 19:31:09 -06:00
4DBug 8b07f26666 audio perf: FLAC crc16 slice-by-4, LPC / rice integer division, MP3 antialias unrolled 2026-11-01 19:25:00 -06:00
4DBug 4ea42f1375 audio perf: AAC codeword unpack tables + fused long-window overlap-add, MDCT inverse branch-free unfold, FFT last-pass loops 2026-11-01 19:22:33 -06:00
4DBug 59c2438ca1 audio perf: compat math.sign branch-free (WavPack on LuaJIT 1.7-2x), Opus MDCT running indices, SILK FIR12 rows, Vorbis residue / window / overlap-add loops without per-sample branches 2026-11-01 19:16:18 -06:00
4DBug 051aca5b74 audio perf: resample planar history + shared dot loop, mdct inverse fused unfold + fft index hoisting, AudioOps strided loops / remix term lists, wav sample loops, SILK LPC in locals, upvalue hoisting (Celt, Mpa), --!optimize 2 on every audio module; tools/bench_audio.luau 2026-11-01 19:00:38 -06:00
4DBug 9e7d159af8 audio/mpc: newV split in two halves (newVEven, newVOdd): as one function its native lowering failed register allocation and it ran interpreted 2026-11-01 18:20:23 -06:00
4DBug 6dcce481bb codecs/audio: comments to specs only 2026-11-01 01:55:39 -05:00
4DBug 22ddcd78fa rename: src/Formats -> src/Rosetta, @formats -> @rosetta requires, build/luajit/rosetta + rosetta._compat, build/roblox/Rosetta, ROSETTA_* env/globals, writer vendor strings 2026-11-01 01:19:16 -05:00