Speech using SAPI

25 Nov
 using System;
using System.Windows.Forms;
using SpeechLib;// need this reference as we use functions from the SAPI
namespace Speech
public partial class Form1 : Form
public Form1()
private void button1_Click(object sender, EventArgs e)

SpVoice voice = new SpVoice();
voice.Speak("Welcome to Code Zone", SpeechVoiceSpeakFlags.SVSFDefault);//speakĀ  using default settings

Leave a comment

Posted by on November 25, 2011 in C#.Net


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: