Giving custom PCM data to BeatDetect

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?

Tagged:
Sign In or Register to comment.