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



Related task

   using a speech engine to highlight words




func text2speech(text, lang='en') {
    Sys.run("espeak -v #{lang} -w /dev/stdout #{text.escape} | aplay");
}
text2speech("This is an example of speech synthesis.");