Render the text       This is an example of speech synthesis      as speech.



Related task

   using a speech engine to highlight words




 
import pyttsx
 
engine = pyttsx.init()
engine.say("It was all a dream.")
engine.runAndWait()
 