RosettaCodeData/Task/Speech-synthesis/Haskell/speech-synthesis.hs
2023-07-01 13:44:08 -04:00

5 lines
166 B
Haskell

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