Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

Giving custom PCM data to BeatDetect

$
0
0

How should audio data be formatted when it's passed to BeatDetect.detect()?

Let's say the audio data I have is stereo PCM data... [leftsample1, rightsample2, leftsample2, rightsample2, ...., leftsamplen, rightsamplen]. Should I pass that directly in to BeatDetect.detect()? or should I convert my stereo data in to a mono data and pass that in instead? or should I split out each channel in to its own array and pass each in to its own BeatDetector object?


Viewing all articles
Browse latest Browse all 2896

Trending Articles