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
[C++]
short control.BeatsDetectEnableRT (
short nPlayer,
short bEnable
);
|
|
Parameter
|
Description
|
|
|
nPlayer
|
Number representing the zero-based index of the involved player
|
bEnable
|
Boolean value that specifies if the control must automatically detect beats positions during playback.
Supported values are the following:
Mnemonic constant
|
Value
|
Meaning
|
FALSE (default)
|
0
|
Beats detection is disabled
|
TRUE
|
1
|
Beats detection is enabled
|
|
Return value
Value
|
Meaning
|
|
|
Negative value
|
An error occurred (see the LastError property for further error details)
|
enumErrorCodes.ERR_NOERROR (0)
|
The method call was successful
|
|