Copyright © 2001-2011 MultiMedia Soft

GetPitch method

Previous pageReturn to chapter overviewNext page

Remarks

 

Retrieves the pitch setting for the given player. The pitch can be modified calling the SetPitch method.

This method doesn't work with sounds with more than 2 channels (5.1 or 7.1) or if the EnableMixingFeatures property has been set to BOOL_FALSE.

 

Further details about songs mixing can be found inside the How to mix your songs section.

 

 

Syntax

 

[Visual Basic]

control.GetPitch (

nPlayer as Integer

) as Integer


 

[C++]

short control.GetPicth (

short nPlayer

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

 

 

Return value

 

The pitch expressed in semitones.