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

7
LINES

< > BotCompany Repo | #1027431 // voiceRSS_file

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2413L/15K).

static File voiceRSS_file(S voice, S text) {
  text = voiceRSS_preprocess(text);
  //print("[" + voice + "] " + text);
  S text2 = text;
  if (l(text2) >= 100) text2 = shorten(text, 100) + "-" + md5(text);
  ret javaxCachesDir("VoiceRSS/" + voice + "/" + urlencodeForFileName(text2) + ".mp3");
}

Author comment

Began life as a copy of #1014000

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027431
Snippet name: voiceRSS_file
Eternal ID of this version: #1027431/3
Text MD5: 486797e8921801874edcb283dc2c58c4
Transpilation MD5: 005ad7eeee885bc9949c2eaac57f93fa
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-03-19 21:49:09
Source code size: 303 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 110 / 160
Version history: 2 change(s)
Referenced in: [show references]