great link to download sample code that provides all your needs, here also links here to get more knowledge about your question.
In the init method of the HelloWorldLayer.mm u Code sample, u can see three float values as
time = 0.7; pitch = 0.8; formant = pow(2., 0./12.);
just adjust the pitch to 1.9, it will be a really good cat sound !!!
source share