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

Change tempo without changing pitch.

C++
virtual __stdcall int SetTempo(unsigned int nTempo) = 0;
Parameters 
Description 
unsigned int nTempo 
New tempo value. Normal value is 100. Smaller values represent slower tempo, larger values represent faster tempo.
Note: This value can't be 0. 
Return Values 
Description 
1 
All OK. 
0 
Error. To get error message read here. 

Changing tempo will not change pitch. Playback will be faster or slower, but pitch will remain stable.

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

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

Email: zcindori@inet.hr