libZPlay documentation (Win32)
IndexReferenceHome
PreviousUpNext
libZPlayCpp::zplay_SetTempo Function

Change tempo without changing pitch.

C++
__stdcall __declspec(dllimport) int zplay_SetTempo(ZPLAY_HANDLE handle, unsigned int nTempo);
Parameters 
Description 
ZPLAY_HANDLE handle 
ZPLAY handle. Get this handle with zplay_CreateZPlay
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 
All OK. 
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