Class LyricsMatcher
java.lang.Object
lol.trq.orpheus.lyrics.LyricsMatcher
Scores how well a lyrics candidate fits a track. A wrong match is worse than none, so the bar is high.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final doubleThe lowest score at which lyrics are shown. -
Method Summary
-
Field Details
-
ACCEPT
public static final double ACCEPTThe lowest score at which lyrics are shown.- See Also:
-
-
Method Details
-
score
Scores a candidate described by its own title, artists and length.- Parameters:
track- the playing tracktitle- the candidate titleartists- the candidate artists, possibly emptydurationMillis- the candidate length, or -1- Returns:
- a score;
ACCEPTor more means "show it"
-