I tried several ways to lower the speech rate in google tts android.
myTTS.setSpeechRate(1/2);
this is not working. This produces the default speed. its not accepting 0.5 (type is float). Someone help
You need to set the float value correctly:
myTTS.setSpeechRate(0.5f);
You can use float in this way. This is a sample to adjust the Pitch and SpeechRate
myTTS.setPitch((float)0.7);
myTTS.setSpeechRate((float)0.5);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With