Text-to-speech with 2 languages

applescriptautomatorscripttext to speech

I am studying French and to practice my pronunciation and to learn the words, I want to have my mac speak the words out loud. My mac should say the word in English, and after that, he should say the French translation of it. So, it should speak in 2 voices alternately. The problem is that I don't know how to get my mac speak 2 languages alternately. I know how to get my mac do text-to-speech and how to change the voices, but I don't know how to change the voice from English to French during the speech.

So in short, I want that my mac speaks the following words: first the English word (in an English voice like 'Daniel', and after that, the French translation of that word in a French voice, like 'Thomas') :

enter image description here

I use the [[slnc 1400]] in order to let my mac know he need to take a break for 1400 milliseconds before starting to say the next word. Otherwise, the voice doesn't take a break.

Does someone know how I can get this done?

Can this be done with AppleScript or Automator? Or maybe there is a program a could use to solve this?

Best Answer

check out the app "Narrator" (Mariner Software) - I've just bought the app for a different purpose (correct pronunciation) - but regarding to the description of the app it should solve you're problem too