Copyright © 2001-2018 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]

control.BeatsDetectSetParams (

nPlayer as Integer,

fBandwidth as Single,

fCenterFreq as Single,

fBeatReleaseTime as Single

) as enumErrorCodes


 

[C++]

short control.BeatsDetectSetParams (

short nPlayer,

float fBandwidth,

float fCenterFreq,

float fBeatReleaseTime

);


 

 

Parameter

Description

 

 

nPlayer

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