Copyright © 2001-2018 MultiMedia Soft

BeatsDetectGetBeatPos method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the position of a specific beat detected during a previous offline beats detection analysis performed through a previous call to the BeatsDetectRequest method.

The total number of detected beats can be obtained calling the BeatsDetectGetBeatsCount method.

 

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

 

 

Syntax

 

[Visual Basic]

control.BeatsDetectGetBeatPos (

nPlayer as Integer,

nBeatIndex as Long

) as Long


 

[C++]

long control.BeatsDetectGetBeatPos (

short nPlayer,

long nBeatIndex

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

nBeatIndex

Zero-based index of the requested beat

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

Value >= 0

Position of the beat expressed in milliseconds