Copyright © 2005-2019 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]

Public Function BeatsDetectSetRange (

nPlayerIndex as Int16,

nStartPosition as Int32,

nEndPosition as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes BeatsDetectSetRange (

Int16 nPlayerIndex,

Int32 nStartPosition,

Int32 nEndPosition

);


 

[C++]

public: enumErrorCodes BeatsDetectSetRange (

Int16 nPlayerIndex,

Int32 nStartPosition,

Int32 nEndPosition

);


 

Parameter

Description

 

 

nPlayerIndex

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.