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

11
LINES

< > BotCompany Repo | #1018829 // unclippedRecordingFrequencyImagesWithWords

JavaX fragment (include)

static LPair<S, BWImage> unclippedRecordingFrequencyImagesWithWords(F1<S, Bool> wordFilter) {
  LPair<S, BWImage> images = new L;
  L<File> files = audioRecordingsWithSingleClip();
  for (File f : allRecordings()) {
    S word = wordFromAudioFileName(f);
    if (!isTrue(callF(wordFilter, word))) continue;
    images.add(pair(word, audioFileToFrequencyImage(f)));
    print(fileName(f));
  }
  ret images;
}

Author comment

Began life as a copy of #1018825

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1018829
Snippet name: unclippedRecordingFrequencyImagesWithWords
Eternal ID of this version: #1018829/1
Text MD5: aecbb372505da7ab11b91ae52631680c
Author: stefan
Category: javax / audio
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-13 23:03:31
Source code size: 418 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 209 / 244
Referenced in: [show references]