Remarks
Obtains parameters used for beats detection fine tuning
Parameters for beats positions analysis can be modified through the BeatsDetectSetParams method.
For further details about beats detection refer to the How to detect beats positions and BPM tutorial.
Syntax
[Visual Basic]
Public Function BeatsDetectGetParams (
nPlayerIndex as Int16,
ByRef fBandwidth as Single,
ByRef fCenterFreq as Single,
ByRef fBeatReleaseTime as Single
) as enumErrorCodes
|
|
[C#]
public enumErrorCodes BeatsDetectGetParams (
Int16 nPlayerIndex,
ref float fBandwidth,
ref float fCenterFreq,
ref float fBeatReleaseTime
);
|
|
[C++]
public: enumErrorCodes BeatsDetectGetParams (
Int16 nPlayerIndex,
float __gc *fBandwidth,
float __gc *fCenterFreq,
float __gc *fBeatReleaseTime
);
|
|
Parameter
|
Description
|
|
|
nPlayerIndex
|
Number representing the zero-based index of the involved player
|
fBandwidth
|
Reference that, on return from the method call, will contain a floating point value representing the current bandwidth expressed in Hertz.
|
fCenterFreq
|
Reference that, on return from the method call, will contain a floating point value representing the current center frequency expressed in Hertz
|
fBeatReleaseTime
|
Reference that, on return from the method call, will contain a floating point value representing the current beat release time expressed in milliseconds
|
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.
|
|