예제 #1
0
        public System.IO.MemoryStream Speak(string say, string culture, string voice, int rate) // may return null
        {
            while (tq.Active)                                                                   // just to make sure we are not doing anything with the speech queue
            {
                Thread.Sleep(20);
            }

            return(speechengine.Speak(say, culture, voice, 100, rate));     // samples are always generated at 100 volume
        }
예제 #2
0
 public System.IO.MemoryStream Speak(string say, string culture, string voice, int rate) // may return null
 {
     return(speechengine.Speak(say, culture, voice, 100, rate));                         // samples are always generated at 100 volume
 }