examples.recognition
Class DuplexTest

java.lang.Object
  |
  +--examples.recognition.DuplexTest

public class DuplexTest
extends java.lang.Object

Tests whether a duplex sound card is being used - keep saying one of the five commands ("Nice day", "Hello", "How are you" etc) while the computer is replying - the computer should hear what you said while it was still talking and reply when it has finished it's current reply. Note that only Rules are used and the replies are unlike the rules so that the computer won't interpret it's replies (which it will hear via the microphone) as commands! If the DictationGrammar is enabled the computer can quite happily speak to itself the whole day.


Field Summary
static Recognizer rec
           
static Synthesizer synth
           
 
Constructor Summary
DuplexTest()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rec

public static Recognizer rec

synth

public static Synthesizer synth
Constructor Detail

DuplexTest

public DuplexTest()
Method Detail

main

public static void main(java.lang.String[] args)