示例#1
0
文件: Form1.cs 项目: jpires/fooSpeech
 private void Form1_Load(object sender, EventArgs e)
 {
     ASREngine asr = new ASREngine();
     asr.Register(new Play());
     asr.Register(new Stop());
     asr.Register(new VolumeDown());
     asr.Register(new VolumeUp());
     asr.Register(new NextMusic());
     asr.Register(new PreviousMusic());
     asr.Register(new Pause());
     asr.Register(new Continue());
     asr.Begin();
 }
示例#2
0
        private void Form1_Load(object sender, EventArgs e)
        {
            ASREngine asr = new ASREngine();

            asr.Register(new Play());
            asr.Register(new Stop());
            asr.Register(new VolumeDown());
            asr.Register(new VolumeUp());
            asr.Register(new NextMusic());
            asr.Register(new PreviousMusic());
            asr.Register(new Pause());
            asr.Register(new Continue());
            asr.Begin();
        }