1 | static LPair<S, BWImage> unclippedRecordingFrequencyImagesWithWords(F1<S, Bool> wordFilter) { |
2 | LPair<S, BWImage> images = new L; |
3 | L<File> files = audioRecordingsWithSingleClip(); |
4 | for (File f : allRecordings()) { |
5 | S word = wordFromAudioFileName(f); |
6 | if (!isTrue(callF(wordFilter, word))) continue; |
7 | images.add(pair(word, audioFileToFrequencyImage(f))); |
8 | print(fileName(f)); |
9 | } |
10 | ret images; |
11 | } |
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: | 273 / 308 |
Referenced in: | [show references] |