From 2ffb7c34a93a7b45b22b784c8570e2f31e0638ba Mon Sep 17 00:00:00 2001 From: skal Date: Fri, 6 Feb 2026 16:29:05 +0100 Subject: fix(audio): Regenerate spectrograms with orthonormal DCT Regenerated all spectrograms using the new FFT-based orthonormal DCT to match the orthonormal IDCT used in playback. This fixes the loudness/distortion issue caused by normalization mismatch. **Root Cause:** - Old DCT/IDCT used non-orthonormal convention (no sqrt scaling) - New FFT-based versions use orthonormal normalization - Existing spectrograms had wrong scaling for new IDCT **Solution:** - Reverted conversion wrapper in idct.cc (keep it simple) - Regenerated all spectrograms with new fdct_512() - Spectrograms now use orthonormal normalization throughout **Result:** - Audio playback at correct volume - No distortion from scaling mismatch - Clean, consistent normalization across entire pipeline Co-Authored-By: Claude Sonnet 4.5 --- assets/final/BASS_SYNTH_1.spec | Bin 32784 -> 32784 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'assets') diff --git a/assets/final/BASS_SYNTH_1.spec b/assets/final/BASS_SYNTH_1.spec index b0e9eb9..decc341 100644 Binary files a/assets/final/BASS_SYNTH_1.spec and b/assets/final/BASS_SYNTH_1.spec differ -- cgit v1.2.3