Copyright © 2005-2019 MultiMedia Soft

BeatsDetectSetParams method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets parameters used for beats detection fine tuning

Parameters for beats positions analysis can be obtained through the BeatsDetectGetParams method.

 

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

 

 

Syntax

 

[Visual Basic]

Public Function BeatsDetectSetParams (

nPlayerIndex as Int16,

fBandwidth as Single,

fCenterFreq as Single,

fBeatReleaseTime as Single

) as enumErrorCodes


 

[C#]

public enumErrorCodes BeatsDetectSetParams (

Int16 nPlayerIndex,

float fBandwidth,

float fCenterFreq,

float fBeatReleaseTime

);


 

[C++]

public: enumErrorCodes BeatsDetectSetParams (

Int16 nPlayerIndex,

float fBandwidth,

float fCenterFreq,

float fBeatReleaseTime

);


 

Parameter

Description

 

 

nPlayerIndex

Number representing the zero-based index of the involved player

fBandwidth

Floating point value representing the new bandwidth expressed in Hertz.

fCenterFreq

Floating point value representing the new center frequency expressed in Hertz

fBeatReleaseTime

Floating point value representing the new 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.