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

13
LINES

< > BotCompany Repo | #1024593 // audio_rechunk [dev.]

JavaX fragment (include)

static ItIt<short[]> audio_rechunk(int windowSize, Iterable<short[]> it) {
  ret iff_endOnNull(new F0<short[]> {
    short[] buf = null;
    int bufPos = 0;
    
    short[] get() {
      if (l(buf)-bufPos >= windowSize)
      if (bufN == windowSize)
      chunks.
      fOr (short[] chunk : chunks) {
      int =
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024593
Snippet name: audio_rechunk [dev.]
Eternal ID of this version: #1024593/1
Text MD5: dc976ca3a4e4ffb00a6e7ff09f34c2da
Author: stefan
Category: javax / sound
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-19 17:59:46
Source code size: 331 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 221 / 245
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)