Speech synthesis: Difference between revisions

Rename Perl 6 -> Raku, alphabetize, minor clean-up
m (→‎{{header|Zoomscript}}: Notice removed.)
(Rename Perl 6 -> Raku, alphabetize, minor clean-up)
Line 26:
<lang BASIC256>say "Goodbye, World for the " + 123456 + "th time."
say "This is an example of speech synthesis."</lang>
 
=={{header|Batch File}}==
Sorry for cheating. This is Batch/JScript hybrid.
<lang dos>@set @dummy=0 /*
::Batch File section
@echo off
cscript //e:jscript //nologo "%~f0" "%~1"
exit /b
::*/
//The JScript section
var objVoice = new ActiveXObject("SAPI.SpVoice");
objVoice.speak(WScript.Arguments(0));</lang>
{{Out}}
Saved as SPEAK.BAT
<pre>>SPEAK "This is an example of speech synthesis"
 
></pre>
 
=={{header|BBC BASIC}}==
Line 69 ⟶ 86:
SYS !(!V%+8), V%
ENDPROC</lang>
 
=={{header|Batch File}}==
Sorry for cheating. This is Batch/JScript hybrid.
<lang dos>@set @dummy=0 /*
::Batch File section
@echo off
cscript //e:jscript //nologo "%~f0" "%~1"
exit /b
::*/
//The JScript section
var objVoice = new ActiveXObject("SAPI.SpVoice");
objVoice.speak(WScript.Arguments(0));</lang>
{{Out}}
Saved as SPEAK.BAT
<pre>>SPEAK "This is an example of speech synthesis"
 
></pre>
 
=={{header|C}}==
Line 339:
->new(engine => $engine, voice => $voice->{id})
->speak("This is an example of speech synthesis.");</lang>
 
=={{header|Perl 6}}==
<lang perl6>run 'espeak', 'This is an example of speech synthesis.';</lang>
 
=={{header|Phix}}==
Line 578 ⟶ 575:
$anna.Dispose()
</lang>
 
 
=={{header|Python}}==
Line 605 ⟶ 601:
(speak "This is an example of speech synthesis.")
</lang>
 
=={{header|Perl 6Raku}}==
(formerly Perl 6)
<lang perl6>run 'espeak', 'This is an example of speech synthesis.';</lang>
 
=={{header|REXX}}==
10,333

edits