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

17
LINES

< > BotCompany Repo | #1019224 // nonVoiceMegaMix_dontUse

JavaX fragment (include)

static File nonVoiceMegaMix() {
  File file = javaxDataDir("Generated Audio/non-voice-mega-mix.wav");
  new AudioInputStreamsCollector c;
  // TODO: files without markers
  for (File f : allRecordingsWithMarkers()) {
    Clip clip = spectro_clipFromFile(f);
    int n = clip.getFrameCount();
    L<IntRange> ranges = markerIntRangesForWAV(f);
    print(+ranges);
    ranges = invertIntRanges(ranges, 0, n);
    print("Inverted ranges: " + ranges);
    for (IntRange r : ranges)
      addClipPartToAudioCollector(clip, r, c);
  }
  c.writeToWAV(file);
  ret file;
}

Author comment

Began life as a copy of #1019222

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: #1019224
Snippet name: nonVoiceMegaMix_dontUse
Eternal ID of this version: #1019224/1
Text MD5: ebc568e3452d5ce1dbacaa9b94ceb5fc
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:51:09
Source code size: 580 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 239 / 266
Referenced in: [show references]