Copyright © 2006-2019 MultiMedia Soft

RecordedSound.PlaybackTempoSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Changes the sound to play at faster or slower speed than original, without affecting the sound pitch so voices won't result altered. The current tempo percentage can be obtained through the RecordedSound.PlaybackTempoGet method. The current effective playback rate ratio, that may be also affected by the RecordedSound.PlaybackRateSet method, can be obtained through the RecordedSound.PlaybackRateRatioGet method.

 

For further details about recorded sound methods refer to the RecordedSound class section.

For further details see the How to perform a recording session section.

 

 

Syntax

 

[Visual Basic]

Public Function PlaybackTempoSet (

fTempoPerc As Single

) as enumErrorCodes


 

[C#]

public enumErrorCodes PlaybackTempoSet (

float fTempoPerc

);


 

[C++]

public: enumErrorCodes PlaybackTempoSet (

float fTempoPerc

);


 

 

Parameter

Description

 

 

fTempoPerc

The Tempo variation expressed in percentage; supported values are from -90 to 90.

Setting this parameter to 0 will set the original sound tempo value.

Usually best mixing results are obtained with values from -15 to 15.

 

 

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.