Copyright © 2001-2018 MultiMedia Soft

BeatsDetectRequest method

Previous pageReturn to chapter overviewNext page



Analyses a given range of the loaded sound in order to identify and store beats positions. In this case beats positions detection is performed offline, i.e. while the sound is not being played: if you should need detecting beats positions in real-time during playback, use the BeatsDetectEnableRT method.


Parameters for beats positions analysis can be obtained/set through the BeatsDetectGetParams and BeatsDetectSetParams methods and the range of sound to analyze can be set through the BeatsDetectSetRange method.

Once beats positions have been calculated, the container application will be notified through the BeatsAvailableOffline event.


For further details about beats detection refer to the How to detect beats positions and BPM tutorial.





[Visual Basic]

control.BeatsDetectRequest (

nPlayer as Integer

) as enumErrorCodes



short control.BeatsDetectRequest (

short nPlayer









Number representing the zero-based index of the involved player



Return value






Negative value

An error occurred (see the LastError property for further error details)

enumErrorCodes.ERR_NOERROR (0)

The method call was successful