Hi, I am playing around with TTS using the Speeach SDK in C#, and I found it very simple
example(fully functional TTS program in C#):
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SpeechLib;
namespace SpeechTest1
{
class Program
{
static void Main(string[] args)
{
string text1 = "";
Console.WriteLine("Write text you want read");
text1 = Console.ReadLine();
SpVoice spVoice = new SpVoice();
SpeechVoiceSpeakFlags svsp = new SpeechVoiceSpeakFlags();
spVoice.Speak(text1, svsp);
Console.ReadLine();
}
}
}
BUUUT, having been looking around on MSDN, and googled quite a bit I can't find a simple program to demonstrate listening for voice commands. There was one example here on 'code project' but it was just stupidly big and gave me little or no understanding of what was happening, it just wasn't very useful for a noob like me.
If it is at all simple, could anyone show me a way to make a voice command be understood by a program? I will be using a custom grammar and not the standard one for dictation (if that is helpful).
I am assuming that this is a simple thing, please let me know if making a computer listen using the Speech SDK is an order of magnitude more complicated than using TTS, then I will not take water over my head with this.
I appreciate any and all help with this.
-frank