public void TestShipSizes()
 {
     SpeechService.Speak("This is a test for a small ship.", "IVONA 2 Emma", 0, 0, 60, -50, 0, true);
     SpeechService.Speak("This is a test for a medium ship.", "IVONA 2 Emma", 0, 0, 60, -25, 0, true);
     SpeechService.Speak("This is a test for a large ship.", "IVONA 2 Emma", 0, 0, 60, -10, 0, true);
     SpeechService.Speak("This is a test for a huge ship.", "IVONA 2 Emma", 0, 0, 60, -2, 0, true);
 }
示例#2
0
 private void Speak(string message)
 {
     if (mSpeech != null)
     {
         mSpeech.Speak(message);
     }
 }
 public void TestChorus()
 {
     SpeechService.Speak("Chorus level 0", "IVONA 2 Emma", 0, 0, 0, 0, 0, true);
     SpeechService.Speak("Chorus level 20", "IVONA 2 Emma", 0, 0, 20, 0, 0, true);
     SpeechService.Speak("Chorus level 40", "IVONA 2 Emma", 0, 0, 40, 0, 0, true);
     SpeechService.Speak("Chorus level 60", "IVONA 2 Emma", 0, 0, 60, 0, 0, true);
     SpeechService.Speak("Chorus level 80", "IVONA 2 Emma", 0, 0, 80, 0, 0, true);
     SpeechService.Speak("Chorus level 100", "IVONA 2 Emma", 0, 0, 100, 0, 0, true);
 }
        public void TestStandard()
        {
            SpeechService.Speak("This is a test for a small ship.", null, 0, 0, 10, 0, 0, true);
            SpeechService.Speak("This is a test for a medium ship.", null, 0, 0, 10, 0, 0, true);
            SpeechService.Speak("This is a test for a large ship.", null, 0, 0, 10, 0, 0, true);

            SpeechService.Speak("This is a test.", null, 0, 0, 0, 0, 0, true);
            SpeechService.Speak("This is a test with chorus.", null, 0, 0, 10, 0, 0, true);
            //SpeechService.Speak("This is a test with echo.", null, 0, 0, 70, 0, 0, true);
            //SpeechService.Speak("This is a test with reverb.", null, 0, 0, 0, 100, 0, true);
            //SpeechService.Speak("This is a test with reverb and echo.", null, 0, 0, 70, 100, 0, true);
            //SpeechService.Speak("This is a test with chorus and reverb.", null, 0, 0, 10, 100, 0, true);
            //SpeechService.Speak("This is a test with chorus, reverb and echo.", null, 0, 0, 70, 100, 0, true);
            SpeechService.Speak("This commodity should sell for at least 6000 credits.", null, 0, 0, 10, 100, 0, true);
        }
        public void TestChorus()
        {
            SpeechService SpeechService = new SpeechService();

            SpeechService.Speak("Chorus level 0", null, 0, 0, 0, 0, 0, true);
            SpeechService.Speak("Chorus level 20", null, 0, 0, 20, 0, 0, true);
            SpeechService.Speak("Chorus level 40", null, 0, 0, 40, 0, 0, true);
            SpeechService.Speak("Chorus level 60", null, 0, 0, 60, 0, 0, true);
            SpeechService.Speak("Chorus level 80", null, 0, 0, 80, 0, 0, true);
            SpeechService.Speak("Chorus level 100", null, 0, 0, 100, 0, 0, true);
        }
        public void testVariants()
        {
            SpeechService.Speak("Welcome to your small ship.", "IVONA 2 Emma", 0, 0, 40, -60, 0, true);
            SpeechService.Speak("Vulture x-ray whiskey tango seven one seven six requesting docking.", "IVONA 2 Emma", 0, 10, 40, -60, 0, true);
            SpeechService.Speak("Welcome to your medium ship.", "IVONA 2 Emma", 0, 0, 60, -30, 0, true);
            SpeechService.Speak("Python victor oscar Pappa fife tree fawer niner requesting docking.", "IVONA 2 Emma", 0, 10, 60, -30, 0, true);
            SpeechService.Speak("Welcome to your large ship.", "IVONA 2 Emma", 0, 0, 80, -20, 0, true);
            SpeechService.Speak("Anaconda charlie november delta one niner eight fawer requesting docking.", "IVONA 2 Emma", 0, 10, 80, -20, 0, true);
            SpeechService.Speak("Welcome to your huge ship.", "IVONA 2 Emma", 0, 0, 80, -10, 0, true);
            SpeechService.Speak("Panther Clipper charlie november delta one niner eight fawer requesting docking.", "IVONA 2 Emma", 0, 10, 100, -10, 0, true);

            //SpeechService.Speak("Welcome to your small ship.", "IVONA 2 Emma", 0, 0, 40, -50, 0, true);
            //SpeechService.Speak("Vulture x-ray whiskey tango seven one seven six requesting docking.", "IVONA 2 Emma", 0, 10, 40, -50, 0, true);
            ////SpeechService.Speak("Vulture x-ray whiskey tango seven one seven six requesting docking.", "IVONA 2 Emma", 0, 10, 40, 0, 0, true);
            //SpeechService.Speak("Welcome to your medium ship.", "IVONA 2 Emma", 0, 0, 60, -25, 0, true);
            //SpeechService.Speak("Python victor oscar Pappa fife tree fawer niner requesting docking.", "IVONA 2 Emma", 0, 10, 60, -25, 0, true);
            ////SpeechService.Speak("Python victor oscar Pappa fife tree fawer niner requesting docking.", "IVONA 2 Emma", 0, 10, 60, 0, 0, true);
            //SpeechService.Speak("Welcome to your large ship.", "IVONA 2 Emma", 0, 0, 80, -10, 0, true);
            //SpeechService.Speak("Anaconda charlie november delta one niner eight fawer requesting docking.", "IVONA 2 Emma", 0, 10, 80, -10, 0, true);
            ////SpeechService.Speak("Anaconda charlie november delta one niner eight fawer requesting docking.", "IVONA 2 Emma", 0, 10, 80, 0, 0, true);
            //SpeechService.Speak("Welcome to your huge ship.", "IVONA 2 Emma", 0, 0, 80, -5, 0, true);
            //SpeechService.Speak("Panther Clipper charlie november delta one niner eight fawer requesting docking.", "IVONA 2 Emma", 0, 10, 100, -5, 0, true);
            ////SpeechService.Speak("Panther Clipper charlie november delta one niner eight fawer requesting docking.", "IVONA 2 Emma", 0, 10, 100, 0, 0, true);
        }
 public void TestEcho()
 {
     SpeechService.Speak("This is a test for echo", null, 75, 0, 10, 0, 0, true);
 }
 public void testSendAndReceive()
 {
     SpeechService.Speak("Issuing docking request.  Please stand by.", "IVONA 2 Emma", 0, 10, 0, 100, 0, true);
     SpeechService.Speak("Anaconda golf foxtrot lima one niner six eight requesting docking.", "IVONA 2 Emma", 0, 20, 0, 0, 0, true);
     SpeechService.Speak("Roger golf foxtrot lima one niner six eight docking request received", "IVONA 2 Brian", 0, 20, 0, 0, 0, true);
 }
 public void TestDistort()
 {
     SpeechService.Speak("Anaconda golf foxtrot lima one niner six eight requesting docking.", null, 0, 10, 0, 0, 0, true);
 }