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

8
LINES

< > BotCompany Repo | #1013247 // loadWAVSnippet

JavaX fragment (include)

static File loadWAVSnippet(S snippetID) {
  snippetID = fsI(snippetID);
  File f = loadLibrary(snippetID);
  File f2 = newFile(f2s(f) + ".wav");
  if (fileSize(f2) != fileSize(f))
    copyFile(f, f2);
  ret f2;
}

Author comment

Began life as a copy of #1009558

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1013247
Snippet name: loadWAVSnippet
Eternal ID of this version: #1013247/1
Text MD5: 720381509df9c6a7270920956dadf0fc
Author: stefan
Category: javax / sound
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-29 09:18:10
Source code size: 219 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 443 / 465
Referenced in: [show references]