Copyright © 2005-2019 MultiMedia Soft

BeatsDetectGetBeatsCount 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.

Each detected position can be obtained calling the BeatsDetectGetBeatPos method.

 

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

 

 

Syntax

 

[Visual Basic]

Public Function BeatsDetectGetBeatsCount (

nPlayerIndex as Int16

) as enumErrorCodes


 

[C#]

public enumErrorCodes BeatsDetectGetBeatsCount (

Int16 nPlayerIndex

);


 

[C++]

public: enumErrorCodes BeatsDetectGetBeatsCount (

Int16 nPlayerIndex

);


 

Parameter

Description

 

 

nPlayerIndex

Number representing the zero-based index of the involved player

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

Value >= 0

The number of detected beats