pombreda / android-scripting

Automatically exported from code.google.com/p/android-scripting
0 stars 0 forks source link

Ability to modify pitch of text-to-speech #677

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am working on a project at the moment and I thought that being able to modify 
the TTS pitch would be quite helpful. I decided to check out the source and add 
this modification myself and it works (see attached). The only weird thing is 
that, I had to make the parameter for setTtsPitch() a String rather than a 
float or double (I get some "Argument is invalid" error, even after doing 
something like setTtsPitch(float(5)) ).

It's not much but I hope a method like this does get included in future. :)

Cheers

Original issue reported on code.google.com by chrispy...@gmail.com on 3 Feb 2013 at 4:36

Attachments: