Anki-Text to Audio is an Add-On for the flashcard program Anki.
This Add-On automates of conversion text to audio by using Sound of Text API.
It adds sound only to one side of flashcard: Front or Back (you can change it in settings of add-on (see Default Values))
For list of languages and supported codes of voices please see Sound of Text doc
When Add-On is installed properly you will see an extra button
So if you want to add sound to a flashcard field you can click on the button and let it to do that for you.
You can change the default values for text source and audio language. Just chahege the values of the variables in the file 'config.json'. You can find the file in the Add-Ons Folder (text2audio) of your Anki Installation.
"text_source": "back",
"audio_language": "en-GB"
You can download this project and copy the 'text2audio' folder into your Anki Add-On directory.