5

I want to be able to change the voice in the text to speech API such as change the:

Voice from female to male.

Make the voice more clear

Change the speed of the voice

Please can someone let me know if this is possible. Thanks.

Tommy
  • 759
  • 2
  • 14
  • 25

1 Answers1

4

You can provide your own conversions for specific strings via addSpeech(). There is no documentation for how you can substitute your own text-to-speech engine, though, AFAICT.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
  • thanks for your answer. the strings are stored in an array how would I go about adding these conversions? Thanks – Tommy Feb 26 '11 at 16:35
  • @Tommy: Call `addSpeech()` on your `TextToSpeech` object, supplying the string and the audio to play back when that string is encountered. Note that this will only work for your app -- you cannot define these for other applications. – CommonsWare Feb 26 '11 at 17:16