libZPlay documentation (Win32)
IndexReferenceHome
PreviousUpNext
ZPlay::SetRate Method

Change playing rate (change pitch and tempo).

C++
virtual __stdcall int SetRate(unsigned int nRate) = 0;
Parameters 
Description 
unsigned int nRate 
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 
All OK. 
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