static L<IntRange> markerIntRangesForWAV(File f, BWImage freqImage) { ret markerIntRangesForWAV(f); } static L<IntRange> markerIntRangesForWAV(File f) { Clip clip = spectro_clipFromFile(f); L<Int> intMarkers = sorted(allToInt(audioFileFloatMarkers(f))); // odd number of markers => clip to end if (oddLength(intMarkers)) intMarkers.add(clip.getFrameCount()); ret intsToIntRanges(intMarkers); }
Began life as a copy of #1018740
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: | #1018776 |
Snippet name: | markerIntRangesForWAV |
Eternal ID of this version: | #1018776/5 |
Text MD5: | 34ac7977a985ae4d3bd57b8199f701e3 |
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:28:18 |
Source code size: | 426 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 345 / 390 |
Version history: | 4 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |