Package be.panako.strategy
Class QueryResult
java.lang.Object
be.panako.strategy.QueryResult
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionQueryResult(String queryPath, double queryStart, double queryStop, String refPath, String refIdentifier, double refStart, double refStop, double score, double timeFactor, double frequencyFactor) QueryResult(String queryPath, double queryStart, double queryStop, String refPath, String refIdentifier, double refStart, double refStop, double score, double timeFactor, double frequencyFactor, double percentOfSecondsWithMatches) QueryResult(String query, double queryStart, double queryStop, String refIdentifier, String refPath, int score, double refStart, double timeFactor, double frequencyFactor) -
Method Summary
Modifier and TypeMethodDescriptionstatic QueryResultemptyQueryResult(String query, double queryStart, double queryStop)
-
Field Details
-
queryPath
-
queryStart
public final double queryStart -
queryStop
public final double queryStop -
refIdentifier
-
refPath
-
refStart
public final double refStart -
refStop
public final double refStop -
score
public final double score -
timeFactor
public final double timeFactor -
frequencyFactor
public final double frequencyFactor -
percentOfSecondsWithMatches
public final double percentOfSecondsWithMatches
-
-
Constructor Details
-
QueryResult
public QueryResult(String queryPath, double queryStart, double queryStop, String refPath, String refIdentifier, double refStart, double refStop, double score, double timeFactor, double frequencyFactor, double percentOfSecondsWithMatches) - Parameters:
queryStart- The start time offset in the query. The match is found atqueryTimeOffsetStart+time.queryStop- The stop time offset of the query.refIdentifier- The internal identifier of the matched audioscore- The score for the matchrefStart- The starting position in the matched audio, in seconds.timeFactor- The factor (percentage) of change in time. 110 means 10% speedup compared to the reference. 90 means 10% slower than reference.frequencyFactor- The factor (percentage) of change in frequency. 110 means 10% higher frequency compared to the reference. 90 means a 10% lower frequency.
-
QueryResult
-
QueryResult
-
-
Method Details
-
emptyQueryResult
-