Speech synthesis: Difference between revisions

Content deleted Content added
Line 1: Line 1:
{{task|Temporal media}}<!-- this task to be in "Temporal media" category once ready. -->[[Category:Speech synthesis]][[Category:Temporal media]]
{{task|Temporal media}}<!-- this task to be in "Temporal media" category once ready. -->[[Category:Speech synthesis]][[Category:Temporal media]]
Render the text “<tt>This is an example of speech synthesis.</tt>” as speech.
Render the text “<tt>This is an example of speech synthesis.</tt>” as speech.

=={{header|C}}==
Following shining examples of <code>exec</code>ing external programs around here:<lang c>#include <unistd.h>
#include <sys/wait.h>

int talk(char *s)
{
if (fork()) return wait(0);
execlp("espeak", s, (void*)0);
return -1;
}

int main()
{
talk("Blah blah");
return 0;
}</lang>


=={{header|C sharp|C#}}==
=={{header|C sharp|C#}}==