static BWImageAndRange audioFileToBWImageAndRange(File audioFile) { BWImage image = wavToFrequencyImage(audioFile); L<IntRange> parts = markerIntRangesForWAV(audioFile, image); BWImageAndRange out = nu(BWImageAndRange, +image); if (nempty(parts)) { out.start = first(parts).start; out.end = first(parts).end; } ret out; }
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: | #1018781 |
Snippet name: | audioFileToBWImageAndRange - range from user-set markers |
Eternal ID of this version: | #1018781/3 |
Text MD5: | 36dfb9fbf9c00257d2a9dac56f022b08 |
Author: | stefan |
Category: | javax / audio analysis |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-14 12:45:48 |
Source code size: | 350 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 345 / 370 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |