NoteResult

data class NoteResult(val noteIndex: Int, val expectedFrequencyHz: Float, val score: Float, val level: PerformanceLevel = PerformanceLevel.fromScore(score))

Result for a single note in an exercise.

Constructors

Link copied to clipboard
constructor(noteIndex: Int, expectedFrequencyHz: Float, score: Float, level: PerformanceLevel = PerformanceLevel.fromScore(score))

Properties

Link copied to clipboard

Expected frequency in Hz

Link copied to clipboard

Is note passing (>= 0.5)

Link copied to clipboard

Performance level classification

Link copied to clipboard

Index of the note in the pattern

Link copied to clipboard

Score for this note (0.0 - 1.0)

Link copied to clipboard

Score as percentage