What API parameters control pitch and tone in Play.ht?
Asked on Sep 13, 2025
Answer
In Play.ht, controlling pitch and tone involves using specific API parameters to adjust the voice output characteristics. These parameters are typically part of the text-to-speech (TTS) API, allowing you to customize how the generated audio sounds.
<!-- BEGIN COPY / PASTE -->
{
"text": "Hello, world!",
"voice": "en-US-Wavenet-D",
"pitch": 0, // Adjust pitch from -20.0 to 20.0
"speaking_rate": 1.0 // Adjust tone by changing the speaking rate
}
<!-- END COPY / PASTE -->Additional Comment:
- The "pitch" parameter modifies the voice's pitch, allowing for a range of -20.0 to 20.0, where negative values lower the pitch and positive values raise it.
- The "speaking_rate" parameter affects the tone by altering the speed of speech, with 1.0 being the default rate.
- These parameters are part of the API request body when using Play.ht's TTS service.
- Experiment with different values to achieve the desired audio effect.
Recommended Links: