Beat-per-minute detection method.
TBPMDetectionMethod = ( dmPeaks = 0, dmAutoCorrelation = 1 );
Parameters |
Description |
dmPeaks |
Detect BPM using peaks detection algorithm. |
dmAutoCorrelation |
Detect BPM using autocorrelation algorithm. |
dmPeaks detection method is using FFT analysis to divide frequency range into subbands. Each subband is analyzed to detect energy peaks and calculate beat. When we have beat value detected in all subbands, most accurate value is selected as songs BPM. This methos is faster, but less accurate.
dmAutoCorrelation detection method is using FFT analysis to divide frequency range into subbands. Each subband is analyzed with autocorrelation to detect beat. When we have beat value detected in all subbands, most accurate value is selected as songs BPM. This method is slower, but more accurate.
Copyright (c) 2010. Zoran Cindori - All rights reserved.
Web: http://libzplay.sourceforge.net/ Email: zcindori@inet.hr |