Using Speech Recognition and Text to Speech

Introduction

This tutorial will show you how to create a program that can understand what you say and reply to what you say! You will need to download the speech recognition control from http://activex.microsoft.com/activex/controls/agent2/actcnc.exe if you have not already downloaded it.

Firstly add a new Standard EXE project. Then change the projects name to VoiceRecognition. Change the forms name to frmVoice. Add the Direct Speech Recognition and the Direct Text-To-Speech control to the form by right clicking on the toolbox and then selecting components. Click on the Microsoft Direct Speech Recognition and Microsoft Direct Text-To-Speech item and then click OK.

   Draw the Speech Recognition and Text-To-Speech control on the form and set the Speech Recognition controls name property to vcrVoice, the Text-To-Speech controls name property to spkSpeak and both their visible properties to false.

You might also like...

Comments

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“There are only 3 numbers of interest to a computer scientist: 1, 0 and infinity”