Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1014000 // cereproc_file

JavaX fragment (include)

static File cereproc_file(S voice, S text) {
  text = cereproc_preprocess(text);
  //print("[" + voice + "] " + text);
  S text2 = text;
  if (l(text2) >= 100) text2 = shorten(text, 100) + "-" + md5(text);
  ret prepareCacheProgramFile("#1004759", voice + "/" + urlencodeForFileName(text2) + ".mp3");
}

Author comment

Began life as a copy of #1004759

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1014000
Snippet name: cereproc_file
Eternal ID of this version: #1014000/6
Text MD5: a0cf0e4c90d9ce8ee81f6a9ad4d274c9
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-18 17:28:37
Source code size: 310 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 486 / 529
Version history: 5 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1018010 - cereproc_raw_file
#1027431 - voiceRSS_file