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



Related task

   using a speech engine to highlight words




 
import System.Process (callProcess) -- From “process” library
 
say text = callProcess "espeak" ["--", text]
 
main = say "This is an example of speech synthesis."
 