Copyright © 2005-2008 MultiMedia Soft 
Return to Table of contents  
 
BeatsDetectEnableRT method 
 
Remarks 
 
Enables/disables real-time detection (during playback) of beats positions. A BeatDetectedRealTime event is fired each time the control detects a beat during playback. 
 
Parameters for beats positions analysis can be obtained/set through the BeatsDetectGetParams and BeatsDetectSetParams methods. 
 
For further details about beats detection refer to the How to detect beats positions and BPM tutorial. 
 
 
Syntax 
 
[Visual Basic] 
Public Function BeatsDetectEnableRT
nPlayerIndex as Int16, 
bEnable as Boolean 
 
[C#] 
public enumErrorCodes BeatsDetectEnableRT
Int16 nPlayerIndex, 
bool bEnable 
);
 
[C++] 
public: enumErrorCodes BeatsDetectEnableRT
Int16 nPlayerIndex, 
bool bEnable 
);
 
Parameter
Description
 
 
nPlayerIndex
Number representing the zero-based index of the involved player
bEnable
Boolean value that tells if the control must automatically detect beats positions during playback. 
Supported values are the following: 
Mnemonic constant
Meaning
false (default)
Beats detection is disabled
true
Beats detection is enabled
 
 
Return value 
 
Value
Meaning
 
 
Negative value
An error occurred (see the LastError property for further error details)
enumErrorCodes.NOERROR (0)
The method call was successful.
 
 
 
 
 
 
 
 
 
 
 
 
 
Copyright © 2005-2008 MultiMedia Soft 
Return to Table of contents