diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-07 08:30:50 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-07 08:30:50 +0100 |
| commit | 99d35e10bd44d546312c1b74d3b0b13c663ccbd1 (patch) | |
| tree | c364784b64f3b075eba67c0472d7bda68e339fe9 /tools/spectral_editor/FEATURES.md | |
| parent | bc924828cebaf049cdda9488b113f8b3b8a8a0d9 (diff) | |
feat(test_demo): Add fine-grained peak logging at frame resolution
Adds --log-peaks-fine option to log audio peaks at every frame (~60 Hz)
instead of just at beat boundaries, enabling millisecond-resolution
synchronization analysis.
Features:
- --log-peaks-fine flag for per-frame logging
- Logs ~960 samples over 16 seconds (vs 32 for beat-aligned)
- Header indicates logging mode (beat-aligned vs fine)
- Frame number instead of beat number in fine mode
- Updated gnuplot command (using column 2 for time)
Use cases:
- Millisecond-resolution synchronization debugging
- Frame-level timing jitter detection
- Audio envelope analysis (attack/decay characteristics)
- Sub-beat artifact identification
Example usage:
build/test_demo --log-peaks peaks.txt --log-peaks-fine
The fine mode provides approximately 16.67ms resolution (60 Hz) compared
to 500ms resolution (beat boundaries at 120 BPM).
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'tools/spectral_editor/FEATURES.md')
0 files changed, 0 insertions, 0 deletions
