Generate BPM-synced audio by placing a wav sample on each beat.
Scans audio/ for *.wav options, monophonic playback (each beat cuts
the previous sample), truncates at length, absorbs negative delays
via source offset. Bundles audio/kick.wav as the default sample.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Invert bounce offset so the cusp (bounce point) faces downward
- Fix operator precedence in bounce phase calculation (% vs /)
- Change rate_x default to 0.5, rhythm_x default to 0.25
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
DrawRhythmTracks generates BPM-synced sparse track point images with
independent X/Y swing patterns (pendulum, bounce, linear). Rendering
is GPU-accelerated and compatible with LTXVDrawTracks output format.
BPMDetector extracts tempo from audio input using librosa beat tracking.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>