Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1018799 // audio_scoreEntryPoints

JavaX fragment (include)

svoid audio_scoreEntryPoints(Scorer scorer, BWImageAndRange img, L<Int> entryPoints) {
  scorer.addZeroToOneError(
    or(distanceOfClosestIntTo(img.start, entryPoints), 20)/20.0);
  scorer.addZeroToOneError(absDiff(l(entryPoints), 1)/5.0);
}

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: #1018799
Snippet name: audio_scoreEntryPoints
Eternal ID of this version: #1018799/1
Text MD5: 557e96852f6f669b5b3a3fa187895de4
Author: stefan
Category: javax / audio
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-13 19:43:01
Source code size: 246 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 326 / 373
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1018852 - audio_scoreExitPoints
#1019209 - video_scoreRect_x - only look at x coordinate