Text-to-speech/speech-to-text

Hi @omolewah, and welcome to the forum!

To use speech synthesis and recognition from the browser, you’ll need to interface with Javascript and use the browser’s SpeechRecognition and SpeechSynthesis interfaces.

You can learn more about using Javascript from Anvil here:

https://anvil.works/docs/client/javascript

And you can learn more about the web speech APIs from Mozilla here:


As we’re still on our holiday break, I’m going to resist the temptation to put together a demo. But if someone feels inspired to wrap this up into a library that can be imported as an Anvil dependency, that would make a very worthy contribution to the Anvil Library!

2 Likes