svoid audio_scoreExitPoints(Scorer scorer, BWImageAndRange img, L<Int> exitPoints) { scorer.addZeroToOneError( or(distanceOfClosestIntTo(img.end, exitPoints), 20)/20.0); scorer.addZeroToOneError(absDiff(l(exitPoints), 1)/5.0); }
Began life as a copy of #1018799
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: | #1018852 |
Snippet name: | audio_scoreExitPoints |
Eternal ID of this version: | #1018852/1 |
Text MD5: | c3fde39ddc58f3d0945767ebad9e92ba |
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:19:20 |
Source code size: | 240 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 321 / 362 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |