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

8
LINES

< > BotCompany Repo | #1013247 // loadWAVSnippet

JavaX fragment (include)

1  
static File loadWAVSnippet(S snippetID) {
2  
  snippetID = fsI(snippetID);
3  
  File f = loadLibrary(snippetID);
4  
  File f2 = newFile(f2s(f) + ".wav");
5  
  if (fileSize(f2) != fileSize(f))
6  
    copyFile(f, f2);
7  
  ret f2;
8  
}

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: 445 / 468
Referenced in: [show references]