import voce.*; void setup() { size(200,200); background(0); voce.SpeechInterface.init("/Users/rtwomey/processing/libraries/voce/library", true, true, "/Users/rtwomey/processing/voceTest/data", "test"); System.out.println("This is a speech recognition test. "); } void draw() { stroke(255); while (voce.SpeechInterface.getRecognizerQueueSize() > 0){ String s = voce.SpeechInterface.popRecognizedString(); println("You said: " + s); voce.SpeechInterface.synthesize(s); } }