static LPair<S, BWImage> recordingFrequencyImagesWithWords(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, bwAutoContrast(audio_defaultClip(audioFileToFrequencyImage(f)))));
print(fileName(f));
}
ret images;
}Began life as a copy of #1018823
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: | #1018825 |
| Snippet name: | recordingFrequencyImagesWithWords |
| Eternal ID of this version: | #1018825/4 |
| Text MD5: | f380e61240510a52a41e015559c50c73 |
| Author: | stefan |
| Category: | javax / audio |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-10-14 13:40:53 |
| Source code size: | 444 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 819 / 825 |
| Version history: | 3 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1018828 - allUnclippedFrequencyImagesForWord #1018829 - unclippedRecordingFrequencyImagesWithWords |