diff options
| author | skal <pascal.massimino@gmail.com> | 2026-03-29 10:15:38 +0200 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-03-29 10:15:38 +0200 |
| commit | e22256e374694fd92cc55ba198d3f7b1911713fe (patch) | |
| tree | 8361b5d512551c5bf513c36f1abef4ecaf8454f7 /doc | |
| parent | 3be659d9f0a150f8a6527ad0edc31787b0d39994 (diff) | |
docs: consolidate and sync docs with current codebase state
- PROJECT_CONTEXT.md: fix effect count (12→18), shader count (27→37),
update CNN v3 pipeline description, tighten Next Up section
- TODO.md: fix priority numbering, restore GPU PCM synthesis as pending,
streamline CNN v3 section, consolidate Future items
- doc/SEQUENCE.md: effect count 12→18
- cnn_v3/README.md: phases 1–7→1–9, test count 36→38, add phases 8–9
- cnn_v3/docs/HOWTO.md: fix dataset layout blender/photos→full/simple,
update test counts 36→38 throughout
- doc/COMPLETED.md: archive FFT/timing/OLA fixes, remove false GPU PCM claim
- src/audio/audio_engine.cc: fix step comment numbering (6→5)
- src/audio/synth.cc: remove stale fractional_pos tempo-scaling comment
handoff(Gemini): docs now accurate — 18 effects, 37 shaders, 38/38 tests,
GPU PCM synthesis back in TODO as pending, CNN v3 dataset layout corrected.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/COMPLETED.md | 6 | ||||
| -rw-r--r-- | doc/SEQUENCE.md | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/doc/COMPLETED.md b/doc/COMPLETED.md index 203c27a..233373e 100644 --- a/doc/COMPLETED.md +++ b/doc/COMPLETED.md @@ -34,6 +34,12 @@ Completed task archive. See `doc/archive/` for detailed historical documents. --- +## March 2026 (continued) + +- [x] **FFT twiddle factor fix** — `fft_radix2` computes `wr/wi` directly per k via `cosf/sinf(angle*k)`. Tests A–E added to `test_fft.cc`. Tolerance reverted to 5e-3. +- [x] **Audio timing drift fix** — Events were triggered ~180ms early over 63 beats. Fixed: `chunk_frames` truncation replaced by double-precision integration; tracker updated to double-precision time. +- [x] **OLA decode refactor** — `ola_decode_frame` extracted into `src/audio/ola.h` and used in `synth.cc`, deduplicating IDCT + overlap handling logic. + ## March 2026 - [x] **CNN v3 training bug fixes (2026-03-27)** — Two bugs blocking convergence: diff --git a/doc/SEQUENCE.md b/doc/SEQUENCE.md index 3d7a6ce..bb1e8e8 100644 --- a/doc/SEQUENCE.md +++ b/doc/SEQUENCE.md @@ -307,7 +307,7 @@ params.aspect_ratio; // width/height - DAG validation, topological sort, ping-pong optimization - Multi-input/multi-output effects - Node aliasing (compile-time optimization) -- 12 effects: Passthrough, Placeholder, GaussianBlur, Heptagon, Particles, RotatingCube, Hybrid3D, Flash, PeakMeter, Scene1, Scene2, Scratch +- 18 effects: Passthrough, Placeholder, GaussianBlur, Heptagon, Particles, RotatingCube, Hybrid3D, Flash, PeakMeter, Scene1, Scene2, Scratch, Ntsc, NtscYiq, GBufferEffect, CNNv3Effect, GBufDeferredEffect, GBufViewEffect **Missing/Future:** - Flatten mode (`--flatten` generates same code as dev mode) |
