Uses 911K of libraries. Click here for Pure Java version (4617L/25K).
!7 import static x30_pkg.x30_util.VF1; cmodule DemoAudioLoop > DynPrintLog { transient short[] loop; transient VF1<double[]> source; void start { // download & load WAV loop = decodeWAVToStereoSamples(loadLibrary(#1400093)); // Make sound source & add to audio output module dm_addSoundSource(source = stereoSamplesIterator(loop)); } }
Began life as a copy of #1016699
download show line numbers debug dex old transpilations
Travelled to 17 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, snaazhdonpnp, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1016700 |
Snippet name: | Demo Audio Loop [Dyn Module] |
Eternal ID of this version: | #1016700/10 |
Text MD5: | 9368652c767487a11f00e486524e0d17 |
Transpilation MD5: | 45d049d1698d0ee1f949a796ae8aee04 |
Author: | stefan |
Category: | javax / audio |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-02-06 23:45:18 |
Source code size: | 384 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 499 / 2491 |
Version history: | 9 change(s) |
Referenced in: | [show references] |