This extension based half on the original MIT TextToSpeech extension with the additional feature to let you record the speech to a .wav file. Useful if you make a translation app and want to save some phrases as a soundfile for later conversations.
I included a demo aia to show you the functionality.
com.django.ttsrecord.aix (18,5 KB)
TTSRecordDemo.aia (22,8 KB)
Note: I don’t know if the SetCountry method works. So I call this version Beta.