Skip to content

Commit c6ae09a

Browse files
todo update
1 parent 960ffaa commit c6ae09a

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

todo.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,11 @@
1616
5. Removal of blocking wait loops (`while(update())`) for retrigger/panic and switching to asynchronous fade-out.
1717

1818
Result: pop/click still occurs in both retrigger and panic cases.
19+
20+
## Additional attempts (2026-03-23)
21+
1. Added detailed `VOICE_EVT` lifecycle logging (trigger, queued start, deferred start, loop end, stop commit, panic/group stop).
22+
2. Verified retrigger path transitions are ordered as: queue pending start -> fade-out stop request -> zero-gain hold -> hard stop -> deferred restart.
23+
3. Added time-order guards in fade ratio code (`nowUs <= startUs` and `nowUs <= stopStartUs`) to avoid unsigned time underflow around retrigger boundaries.
24+
4. Moved `nowUs` sampling in `Audio::update()` to occur after deferred-start processing so newly started voices use a valid timestamp.
25+
5. Temporarily reduced per-voice gain by 50% for A/B listening (diagnostic only).
26+
6. Observed that heavy UART `Serial.printf` diagnostics in the real-time path can introduce audible digital stutter, so voice-state logs should remain disabled by default.

0 commit comments

Comments
 (0)