Copyright © 2001-2018 MultiMedia Soft

Effects.PlaybackPitchGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the sound pitch or key. The pitch can be modified through the Effects.PlaybackPitchSet method.

 

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

See the How to apply special effects to a playing sound section for further details.

 

 

Syntax

 

[Visual Basic]

control.Effects.PlaybackPitchGet (

nPlayer as Integer,

fPitch as Single

) as enumErrorCodes


 

[C++]

short control.Effects.PlaybackPitchGet (

short nPlayer,

float *fPitch

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

fPitch

Reference that, on return from the method call, will contain the Pitch variation expressed in semitones; supported values are from -50 to 50.

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

enumErrorCodes.ERR_NOERROR (0)

The call was successful.