Groups > Microsoft > dotNET Speech SDK > Speech SDK (Vista/VS2005)?




Re: Speech SDK (Vista/VS2005)?

Re: Speech SDK (Vista/VS2005)?
13 Apr 2007 08:55:00 -0700
Axel,

You might be missing a reference to the System.Speech dll.  It is a
part of the .NET 3.0 Framework.  Read the background section of this
article: http://www.codeproject.com/useritems/Vista_Speech_Recognition.asp
to find out how to add a reference to it.

James
Post Reply
Speech SDK (Vista/VS2005)?
Fri, 13 Apr 2007 16:04:19 +020
Hi!

i want to try some of the c# examples of the MSDN for Speech Synthesis under
Vista and VS2005.
I always get the error message that an assembly is missing.
Do i need a special SDK?

My Code is:

using System;
using System.Speech.Synthesis;

namespace TTS_Console_Sample_1
{
    class Program
    {
        static void Main(string[] args)
        {
            SpeechSynthesizer synth = new SpeechSynthesizer();
            synth.SpeakText("Hello, world!");
        }
    }
}

best regards
Axel
Post Reply
about | contact