diff options
Diffstat (limited to 'TODO.md')
| -rw-r--r-- | TODO.md | 18 |
1 files changed, 10 insertions, 8 deletions
@@ -47,20 +47,22 @@ Enhanced CNN post-processing with multi-dimensional feature inputs. --- -## Priority 3: Tracker Humanization & Sample Offset +## ~~Priority 3: Tracker Humanization & Sample Offset~~ [IMPLEMENTED] Enhance tracker with sample offset and humanization for realistic playback. +**Status:** ✅ Both features implemented and tested (commit e9dde3c) + **Features:** -1. **Sample Offset:** Intrinsic offset value per sample (shifts trigger left, preserves beat sync) - - Add `offset_sec` to `NoteParams` (gen.h) and `Sample` struct - - Extend `.track` SAMPLE syntax: `SAMPLE <name> [OFFSET <sec>] [VOL <vol>]` - - Apply negative `start_offset_samples` in `trigger_note_event()` +1. **Sample Offset (compile-time):** Intrinsic offset per sample, zero runtime cost + - `.track` syntax: `SAMPLE <name> OFFSET <sec>` + - Applied during compilation, preserves beat sync -2. **Humanization:** Per-note random timing/volume variation (baked into WAV export) - - Add to `TrackerScore`: `humanize_seed`, `timing_variation_pct`, `volume_variation_pct` +2. **Humanization (runtime, deterministic):** Per-note timing/volume variation - `.track` syntax: `HUMANIZE SEED <int> TIMING <pct> VOLUME <pct>` - - Apply per-event RNG modulation in `tracker_update()` + - Deterministic RNG ensures identical playback and WAV export + +**Test:** `data/test_humanize.track` --- |
