How to detect beats positions and BPM |
|
Active DJ Studio supports both "Beats detection" (BD) analysis and "Beats Per Minute" (BPM) analysis.
In both cases, parameters applied to beats detection analysis can be obtained/changed through the BeatsDetectGetParams and BeatsDetectSetParams methods.
Automatic BPM detection can been disabled/enabled through a call to the SetAutomaticBPM method: when disabled you can manually request BPM detection through the RequestSoundBPM method: also in this case the BPMAvailable event will pass detected BPM to the container application.
Both beats position detection and BPM detection won't work with sounds with more than 2 channels (5.1 or 7.1) or if the EnableMixingFeatures property has been set to BOOL_FALSE.
A sample of use of the "Beats detection" (BD) analysis in Visual Basic 6 and Visual C++ 6 can be found inside the following samples installed with the product's setup package: - BeatsDetection
A sample of use of the "Beats Per Minute detection" (BPM) analysis in Visual Basic 6 and Visual C++ 6 can be found inside the following samples installed with the product's setup package: - TestPlayers
|