From 819394afe35a754f8408a98dc3f42e58ef5f69f9 Mon Sep 17 00:00:00 2001 From: skal Date: Fri, 6 Feb 2026 18:22:50 +0100 Subject: fix(audio): Clean up stale spectrograms and fix asset references MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ROOT CAUSE: - 15 stale .spec files from pre-orthonormal DCT era (16x amplification) - Asset manifest referenced 3 non-existent samples (kick1, snare1, hihat1) - music.track used outdated asset IDs after renumbering FIXES: 1. Removed all 29 stale .spec files 2. Regenerated 14 clean spectrograms from source files 3. Updated demo_assets.txt: removed KICK_1, SNARE_1, HIHAT_1; renumbered remaining 4. Updated music.track: KICK_3→KICK_2, SNARE_4→SNARE_3, HIHAT_4→HIHAT_3 5. Added BASS_2 (BASS_SYNTH_1.spec) to asset manifest VERIFICATION: - All peak levels < 1.0 (no clipping) ✅ - Demo builds and runs successfully ✅ REMAINING ISSUE: - RMS levels vary 4.6x (0.054 to 0.248) - Samples not normalized before encoding - This explains erratic volume in demo64k - Recommend: normalize source .wav files before spectool analyze handoff(Claude): Audio distortion fixed, but samples need RMS normalization. --- assets/final/demo_assets.txt | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'assets/final/demo_assets.txt') diff --git a/assets/final/demo_assets.txt b/assets/final/demo_assets.txt index d5ce9b4..6293696 100644 --- a/assets/final/demo_assets.txt +++ b/assets/final/demo_assets.txt @@ -1,24 +1,22 @@ # Asset Name, Compression Type, Filename/Placeholder, Description # --- Drum & Percussion Samples --- -KICK_1, NONE, kick1.spec, "A drum kick sample" -KICK_2, NONE, KICK_606.spec, "606 Kick" -KICK_3, NONE, KICK_90S_2.spec, "90s Kick" -SNARE_1, NONE, snare1.spec, "A snare drum sample" -SNARE_2, NONE, SNARE_808.spec, "808 Snare" -SNARE_3, NONE, SNARE_909_TUNE_8.spec, "909 Snare" -SNARE_4, NONE, SNARE_BLUE_ROOM.spec, "Snare Blue Room" -HIHAT_1, NONE, hihat1.spec, "A hi-hat sample" -HIHAT_2, NONE, HIHAT_CLOSED_DMX.spec, "DMX Closed Hi-hat" -HIHAT_3, NONE, HIHAT_CLOSED_DUFF.spec, "Duff Closed Hi-hat" -HIHAT_4, NONE, HIHAT_CLOSED_ER_1.spec, "ER-1 Closed Hi-hat" +KICK_1, NONE, KICK_606.spec, "606 Kick" +KICK_2, NONE, KICK_90S_2.spec, "90s Kick" +SNARE_1, NONE, SNARE_808.spec, "808 Snare" +SNARE_2, NONE, SNARE_909_TUNE_8.spec, "909 Snare" +SNARE_3, NONE, SNARE_BLUE_ROOM.spec, "Snare Blue Room" +HIHAT_1, NONE, HIHAT_CLOSED_DMX.spec, "DMX Closed Hi-hat" +HIHAT_2, NONE, HIHAT_CLOSED_DUFF.spec, "Duff Closed Hi-hat" +HIHAT_3, NONE, HIHAT_CLOSED_ER_1.spec, "ER-1 Closed Hi-hat" CRASH_1, NONE, CRASH_DMX.spec, "DMX Crash" RIDE_1, NONE, RIDE_CUP_1.spec, "Ride Cymbal" SPLASH_1, NONE, SPLASH_GROUNDED.spec, "Splash Cymbal" # --- Melodic Samples --- BASS_1, NONE, BASS_GUITAR_FEEL.spec, "Bass Guitar" -SYNTH_BASS_1, NONE, SYNTH_BASS_DISTORT.spec, "Distorted Synth Bass" +BASS_2, NONE, BASS_SYNTH_1.spec, "Synth Bass 1" +BASS_3, NONE, SYNTH_BASS_DISTORT.spec, "Distorted Synth Bass" # --- Procedural Textures --- NOISE_TEX, PROC(gen_noise, 1234, 16), _, "Procedural noise texture for bump mapping" -- cgit v1.2.3