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

6
LINES

< > BotCompany Repo | #1033246 // repChannels - repeat value in all channels

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (3991L/23K).

static <A> Channels<A> repChannels(int channels, A a) {
  Channels<A> cc = new(channels);
  for c to channels:
    cc.set(c, a);
  ret cc;
}

Author comment

Began life as a copy of #1032992

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033246
Snippet name: repChannels - repeat value in all channels
Eternal ID of this version: #1033246/1
Text MD5: 1d2895b66f1f04dade5d587971383cee
Transpilation MD5: 2a5573ae8d0fff4a189b3dad94418282
Author: stefan
Category: javax / audio analysis
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-17 19:07:04
Source code size: 145 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 76 / 117
Referenced in: [show references]