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

4
LINES

< > BotCompany Repo | #1019219 // addClipPartToAudioCollector

JavaX fragment (include)

svoid addClipPartToAudioCollector(Clip clip, IntRange r, AudioInputStreamsCollector c) {
  int n = r.length()*clip.getFrameTimeSamples();
  c.add(clip.getAudio(r.start*clip.getFrameTimeSamples(), n), n);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1019219
Snippet name: addClipPartToAudioCollector
Eternal ID of this version: #1019219/1
Text MD5: ebc21c43b692b4fce551e4129e632e65
Author: stefan
Category: javax / audio
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-28 00:22:16
Source code size: 208 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 430 / 434
Referenced in: [show references]