static int cereproc_maxChars = 1000; static File cereproc(S voice, S text) { text = trim(text); if (empty(text)) null; text2 = shorten(text, 1000); if (neq(text, text2)) print("Cereproc: Text shortened from " + l(text) + to " + l(text) + " chars"); text = text2; print("[" + voice + "] " + text); File file = cereproc_silent(voice, text); if (file != null) playMp3(file); ret file; }