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

8
LINES

< > BotCompany Repo | #1018011 // cereproc_raw_silent - downloads & caches audio files

JavaX fragment (include)

1  
static File cereproc_raw_silent(S voice, S text) {
2  
  File file = cereproc_raw_file(voice, text);
3  
  if (!file.exists()) {
4  
    S url = getSoundURLCereproc_raw(text, voice);
5  
    saveBinaryFile(file, loadBinaryPageSilently(url));
6  
  }
7  
  ret file;
8  
}

Author comment

Began life as a copy of #1005209

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1018011
Snippet name: cereproc_raw_silent - downloads & caches audio files
Eternal ID of this version: #1018011/1
Text MD5: c2d87948f22831dad2280a21d1027e60
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-25 20:52:06
Source code size: 252 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 346 / 347
Referenced in: [show references]