Jump to content

Speech synthesis: Difference between revisions

m
→‎{{header|Sidef}}: removed an unneeded semicolon
m (→‎{{header|REXX}}: added/changed whitespace and comments, changed comments in the REXX section header.)
m (→‎{{header|Sidef}}: removed an unneeded semicolon)
Line 328:
<lang ruby>func text2speech(text, lang='en') {
Sys.run("espeak -v #{lang} -w /dev/stdout #{text.escape} | aplay");
};
text2speech("This is an example of speech synthesis.");</lang>
 
2,747

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.