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

5
LINES

< > BotCompany Repo | #1018799 // audio_scoreEntryPoints

JavaX fragment (include)

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

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: 325 / 372
Referenced in: [show references]