Copyright © 2005-2018 MultiMedia Soft

BeatsDetectGetBeatPos method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the total number of beats 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]

Public Function BeatsDetectGetBeatPos (

nPlayerIndex as Int16,

nBeatIndex as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes BeatsDetectGetBeatPos (

Int16 nPlayerIndex,

Int32 nBeatIndex

);


 

[C++]

public: enumErrorCodes BeatsDetectGetBeatPos (

Int16 nPlayerIndex,

Int32 nBeatIndex

);


 

Parameter

Description

 

 

nPlayerIndex

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

The number of detected beats