
It’s not a new hack but it will work well if you have short texts (1-3 sentences) that you wish to convert to speech.
After all, when returning a response to the Google Assistant, you can use a subset of the Speech Synthesis Markup Language (SSML).
Why?
Because you can make your agent’s responses seem more life-like experience.
How?
Open your terminal and try something like this:
curl "http://www.google.com/speech-api/v1/synthesize?lang=en-us&text=actions+on+google+rock" -o aog-rock-hack.mp3
That’s it.
If you want to use SSML and get fancy, it’s also support it in the request: Continue reading
We are all experts at human-to-human conversation. But conversing only seems easy because it’s familiar, you’ve been doing it since you were born. The key to building a good voice interface is to not fall into the trap of simply converting a GUI into a VUI.
We’re entering a promising new era of computing, where advances in machine learning and artificial intelligence are creating a resurgence of interest in voice interfaces and natural language processing.