Copyright © 2005-2018 MultiMedia Soft

RequestSoundBPM method

Previous pageReturn to chapter overviewNext page



Analyses the loaded song BPM (Beats Per Minute): useful when the automatic BPM detection has been disabled through a call to the SetAutomaticBPM method.

This method doesn't work with sounds with more than 2 channels (5.1 or 7.1) or if the EnableMixingFeatures property has been set to false.


Once the BPM has been calculated, the container application will be notified about the detected BPM through the BPMAvailable event.


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





[Visual Basic]

Public Function RequestSoundBPM (

nPlayerIndex as Int16

) as enumErrorCodes



public enumErrorCodes RequestSoundBPM (

Int16 nPlayerIndex




public: enumErrorCodes RequestSoundBPM (

Int16 nPlayerIndex









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.NOERROR (0

The method call was successful.