set Pitch
Sets the pitch of the audio, which can be set between 0.5 and 2.0. A pitch of 1.0 means normal speed, less than 1.0 means slower, and greater than 1.0 means faster.
Parameters
pitch
The pitch value to set, which must be between 0.5 and 2.0.
Throws
Illegal Argument Exception
if the pitch value is not between 0.5 and 2.0.