static bool cereproc_printPageLoads; static File cereproc_silent(S voice, S text) { text = trim(text); if (empty(text)) null; text = text.replaceAll("\\s+", " "); if (l(text) >= 100) text = shorten(text, 100) + md5(text); File file = prepareCacheProgramFile("#1004759", voice + "/" + urlencode(text) + ".mp3"); if (!file.exists()) { O anim = miniLoadingAnim("Speaking..."); try { S url = getSoundURLCereproc(text, voice); if (cereproc_printPageLoads) print("CEREPROC: " + text); saveBinaryFile(file, loadBinaryPageSilently(url)); } finally { disposeWindow(anim); } } ret file; }