RecordedSound.PlaybackTempoSet method |
|
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 object section.
For further details see the How to perform a recording session section.
Syntax
[Visual Basic] control.RecordedSound.PlaybackTempoSet ( fTempoPerc as single ) as enumErrorCodes |
[C++] short control.RecordedSound.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 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.ERR_NOERROR (0) |
The call was successful. |