Copyright © 2001-2018 MultiMedia Soft

BeatsDetectSetRange method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets the song's range where offline beats detection (started by a call to the BeatsDetectRequest method) will be performed.

 

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

 

 

Syntax

 

[Visual Basic]

control.BeatsDetectSetRange (

nPlayer as Integer,

nStartPosition as Long,

nEndPosition as Long

) as enumErrorCodes


 

[C++]

short control.BeatsDetectSetRange (

short nPlayer,

long nStartPosition,

long nEndPosition

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

nStartPosition

Start position expressed in milliseconds

nEndPosition

End position 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