Copyright © 2001-2019 MultiMedia Soft

BeatsDetectGetParams method

Previous pageReturn to chapter overviewNext page

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]

control.BeatsDetectGetParams (

nPlayer as Integer,

fBandwidth as Single,

fCenterFreq as Single,

fBeatReleaseTime as Single

) as enumErrorCodes


 

[C++]

short control.BeatsDetectGetParams (

short nPlayer,

float *fBandwidth,

float *fCenterFreq,

float *fBeatReleaseTime

);


 

 

Parameter

Description

 

 

nPlayer

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