Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Dylan Merritt
15,682 PointsCould anyone tell me how I might make text-to-speech in my app?
I would like to implement text-to-speech and was hoping some of you fantastic people might have an idea of where to start. Thanks guys!
Chelsea C.
Full Stack JavaScript Techdegree Student 3,392 PointsIs this what you were looking for? https://www.youtube.com/watch?v=sU38Yhux-3g
1 Answer
Ratik Sharma
32,885 PointsThis is a really good tutorial for what you're trying to do: http://www.androidhive.info/2014/07/android-speech-to-text-tutorial/
Andrew Gay
20,893 PointsAndrew Gay
20,893 PointsIf you want to implement your own libraries to convert text into an audio file that would be quite a lot of work and I would not know the best way to tackle this project.
TextToSpeech in Andriods API is probably what you are looking for.
However there are other free services such as tts-api that can also provide you with similar functionality (Though I have not tested this within an Android application.)
Try messing around with Androids libraries and see if that is what you needed! (Once I take the course I will be able to write out some examples for you, but I am just not there yet)