libZPlay documentation (Win32)
IndexReferenceHome
PreviousUpNext
ZPlay.SetRate Method

Change playing rate (change pitch and tempo).

Visual Basic
Public Function SetRate(ByVal Rate As Integer) As Boolean
Parameters 
Description 
ByVal Rate As Integer 
New rate value. Normal rate = 100, smaller values represent slower rate, larger value represents faster rates.
Note: This value can't be 0. 
Return Values 
Description 
True 
All OK. 
False 
Error. To get error message read here

Rate value 100 indicates normal playing rate and sound is not changed at all. 

To slow down playing, set rate to value smaller than 100. This will slow down playback and output pitch will also be changed to lower values. 

To speed up playing, set rate to value larger than 100. This will speed up playback and output pitch will also be changed to higher values.

Copyright (c) 2010. Zoran Cindori - All rights reserved.

Web: http://libzplay.sourceforge.net/

Email: zcindori@inet.hr