Skip to content

Audio: use both channels for beat detection (was left-only)#1007

Open
keeper-of-memes wants to merge 1 commit into
projectM-visualizer:masterfrom
keeper-of-memes:audio-stereo-beat-detection
Open

Audio: use both channels for beat detection (was left-only)#1007
keeper-of-memes wants to merge 1 commit into
projectM-visualizer:masterfrom
keeper-of-memes:audio-stereo-beat-detection

Conversation

@keeper-of-memes

Copy link
Copy Markdown

Beat detection (bass/mids/treble) updated only from m_spectrumL; the right-channel spectrum was computed every frame and then discarded, so content weighted to the right channel (or with an L/R imbalance) under-reacted. Average L+R into a mono spectrum and drive the three BeatDetect bands from that. Per-channel render waveforms are unchanged.

Beat detection (bass/mids/treble) updated only from m_spectrumL; the
right-channel spectrum was computed every frame and then discarded, so
content weighted to the right channel (or with an L/R imbalance)
under-reacted. Average L+R into a mono spectrum and drive the three
BeatDetect bands from that. Per-channel render waveforms are unchanged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant