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

8
LINES

< > BotCompany Repo | #1016688 // Play Stereo Loop From WAV Spike (shortened, OK)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (3058L/21K).

!7

static int bufSize = 40960;

p {
  short[] samples = decodeWAVToStereoSamples(loadLibrary(#1400093));
  playAudioFromSampleMakingFunction(bufSize, stereoSamplesIterator(samples));
}

Author comment

Began life as a copy of #1016684

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1016688
Snippet name: Play Stereo Loop From WAV Spike (shortened, OK)
Eternal ID of this version: #1016688/3
Text MD5: 882eaf2242762c5d8a5774210e674f58
Transpilation MD5: 0aaffd5763d7e297d84483c380ffdbd4
Author: stefan
Category: javax / sound
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-28 00:45:32
Source code size: 192 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 520 / 1094
Version history: 2 change(s)
Referenced in: #1016690 - Mix 2 Loops (OK)