Speech synthesis: Difference between revisions

Content added Content deleted
Line 2: Line 2:
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 sharp|C#}}==
You need to 'Add Reference' to the COM "Microsoft Speech Object Library" in your Preferences.
<lang csharp>using SpeechLib;

namespace Speaking_Computer
{
public class Program
{
private static void Main()
{
var voice = new SpVoice();
voice.Speak("This is an example of speech synthesis.");
}
}
}</lang>
=={{header|Tcl}}==
=={{header|Tcl}}==
This just passes the string into the Festival system:
This just passes the string into the Festival system: