Change pitch without changing tempo.
public bool SetPitch(int Pitch);
Parameters |
Description |
int Pitch |
New pitch value. Normal pitch = 100, smaller values represent lower pitch, larger values represent higher pitch. Note: This value can't be 0. |
Return Values |
Description |
True |
All OK. |
False |
Error. To get error message read here. |
Pitch value 100 indicates normal pitch and sound is not changed at all.
To lower pitch, set pitch to value smaller than 100. This will lower pitch without changing tempo. But this value can't be 0 because you can't play something by not playing at all with pitch 0 :-)
To raise pitch, set pitch to value larger than 100. This will raise pitch without changing tempo.
Copyright (c) 2010. Zoran Cindori - All rights reserved.
Web: http://libzplay.sourceforge.net/ Email: zcindori@inet.hr |