hello-robot / stretch_web_teleop

Remote web teleoperation for the Stretch mobile manipulators from Hello Robot Inc.
Other
15 stars 1 forks source link

Implement good offline TTS (e.g., `coqui_ai/TTS`) #93

Open hello-amal opened 3 months ago

hello-amal commented 3 months ago

Currently, the only offline TTS is pyttsx3, which sounds horribly robotic on Ubuntu. coqui_ai/TTS (available on PyPi) has multiple models available that, when downloaded, will work offline. After experimenting with a couple and playing them for a CLV staff member, "tts_models/en/ljspeech/fast_pitch" seems to be promising. It's not quite as good as gtts, but is much better than pyttsx3. And it has sub-0.5s synthesis time.

This issue focuses on implementing that TTS engine, so that we actually have a reasonable-quality offline TTS engine we can switch to if circumstances require (e.g., internet dies right before a study).