Uses 1258K of libraries. Click here for Pure Java version (7962L/43K).
!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); } } }); } }
Began life as a copy of #1018804
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, hpgrupgrauku, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment