please include function kevin. static void kevin_wait() ctex { //kevin_synth.waitEngineState(Synthesizer.QUEUE_EMPTY); //print("Kevin waiting."); long weird = 0; //, start = sysNow(); repeat with ms sleep 50 { //if (sysNow() > start+60*1000) { print("Kevin time-out."); break; } long x = kevin_synth.getEngineState(); if (x == 66052) break; // normal end else if (x == 131588 || x == 516) continue; // still speaking? might wanna look up the actual definition else if (weird == 0) print("Weird Kevin state: " + (weird = x)); } //print("Kevin done."); }