Speech synthesis: Difference between revisions

m
(→‎{{header|REXX}}: simplified the REXX prorgram by using a different keyword for the NIRCMD program (used text instead of a file).)
Line 199:
<lang javascript>var voice = new ActiveXObject("SAPI.SpVoice");
voice.speak("This is an example of speech synthesis.");</lang>
 
=={{header|Julia}}==
It seems that this and similar tasks can reduce to how the language can call an external program. Using the Julia REPL:
<lang julia>
julia> a = "hello world"
"hello world"
 
julia> run(`espeak $a`)
</lang>
 
=={{header|Kotlin}}==
4,107

edits