Improve the current audio processing logic to ensure lower latency during real-time onset detection. - Goal: Optimize spectral flux analysis for faster visual triggers. - Focus: Percussive sounds vs. melodic textures. - Tech: Librosa / NumPy optimization.
Improve the current audio processing logic to ensure lower latency during real-time onset detection.