static BWImage audio_clipFromLastEntryPointToExitPoint(BWImage img) { Int entryPoint = last(audio_entryPoints_v1(img)); int x1 = or(entryPoint, 0); Int exitPoint = firstIntBiggerThan(x1, audio_exitPoints_v1(img)); int x2 = or(exitPoint, img.getWidth()); ret clipBWImage(img, x1, 0, x2-x1, img.getHeight()); }
Began life as a copy of #1018811
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: | #1018856 |
Snippet name: | audio_clipFromLastEntryPointToExitPoint |
Eternal ID of this version: | #1018856/1 |
Text MD5: | b4dee4edec8533995c4386f4319f8f45 |
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 13:37:42 |
Source code size: | 324 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 313 / 372 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1018858 - audio_defaultClip |