!7 // reacts to new recording or file path on clipboard cmodule WitAILastRecording > DynPrintLogAndEnabled { switchable bool useFFMPEG; // instead of Pure Java MP3 encoder start { dm_requireQuickAudioRecord(); dm_onNewRecording/*OrWAVOnClipboard*/(voidfunc(File f) enter { if (!enabled) ret; //print("Analyzing " + f.getName()); witAI_convertUsingFFMPEG = useFFMPEG; fS text = witAI_recognizeWAV(f); flatInfoBox(text); swing { S info = "wit.ai english"; if (empty(text)) katze_userSaid(info, "?"); else { temp dm_generalMap_tempPut('topInputInfo, info); dm_setAIBarTextAndFire(text); } } }); } }