summaryrefslogtreecommitdiff
path: root/TODO.md
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-03-05 10:03:32 +0100
committerskal <pascal.massimino@gmail.com>2026-03-05 10:03:32 +0100
commite2c3c3e95b6a9e53b4631b271640bb9914f8c95e (patch)
treea0e52468bdfe53bf896d8a86fc5b147ac8afe5f3 /TODO.md
parentf48562060413634b13706c3ffd01180da98b6049 (diff)
fix(audio): OLA encoder never ran; version never propagated to decoder
Two bugs kept the v2 OLA path permanently disabled: 1. SpectrogramResourceManager::load_asset() never set spec.version from SpecHeader::version — all .spec assets loaded with version=0, so ola_mode was always false in the voice. 2. spectool analyze_audio() used non-overlapping chunks (stride=DCT_SIZE), hamming_window_512, and hardcoded header.version=1 — OLA analysis was never implemented in the encoder. Fixes: propagate header->version in load_asset(); switch spectool to OLA_HOP_SIZE stride, hann_window_512, and SPEC_VERSION_V2_OLA. Regenerated all .spec files. handoff(Gemini): OLA enc/dec chain now correct end-to-end. .spec files are v2 (50% overlap, Hann). No API changes; 33/34 tests pass (WavDumpBackendTest pre-existing failure unrelated). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'TODO.md')
-rw-r--r--TODO.md9
1 files changed, 1 insertions, 8 deletions
diff --git a/TODO.md b/TODO.md
index c0f8bb1..45623e8 100644
--- a/TODO.md
+++ b/TODO.md
@@ -21,14 +21,7 @@ Reduce weights from f16 (~3.2 KB) to i8 (~1.6 KB).
---
-## Priority 3: Regenerate .spec files as v2 [REQUIRED]
-
-Existing `.spec` files in `workspaces/main/music/` were encoded with v1 (no overlap).
-Rebuild with the MP3 assets to produce v2 (OLA, Hann, hop=256) — click-free output.
-
----
-
-## Priority 4: Test Infrastructure Maintenance [ONGOING]
+## Priority 3: Test Infrastructure Maintenance [ONGOING]
**Status:** 34/34 tests passing