NoteAnalysis

data class NoteAnalysis(val label: String, val targetIntervalCents: Float, val targetPitchHz: Float, val detectedPeakCents: Float, val detectedPeakHz: Float, val deviationCents: Float, val deviationPercent: Float, val score: Float, val tier: PitchingTier, val amplitude: Float)

Analysis of a single detected note against its target interval in the requested scale.

Each instance describes one peak in the performance's pitch histogram: what the target was, what the singer actually produced, and how far off in cents and as a percentage of the interval to the nearest neighbor.

Typically produced as part of IntonationAnalysisResult.notes by com.musicmuni.voxatrace.accura.Accura.analyzePitching.

See also

Constructors

Link copied to clipboard
constructor(label: String, targetIntervalCents: Float, targetPitchHz: Float, detectedPeakCents: Float, detectedPeakHz: Float, deviationCents: Float, deviationPercent: Float, score: Float, tier: PitchingTier, amplitude: Float)

Properties

Link copied to clipboard

Histogram peak amplitude — proxy for note duration / prominence.

Link copied to clipboard

Detected histogram peak position in cents relative to tonic.

Link copied to clipboard

Detected histogram peak frequency in Hz.

Link copied to clipboard

Signed deviation from target in cents (positive = sharp, negative = flat).

Link copied to clipboard

Deviation as percentage of the interval to the nearest neighboring note.

Link copied to clipboard

Note label using the requested tradition (e.g., "S", "R2", "C4").

Link copied to clipboard

Per-note accuracy score in 0f..100f — Accura's grading curve applied to |deviationPercent|. The single numeric the tier and the overall PitchingScore are both derived from.

Link copied to clipboard

Target interval position in cents relative to tonic.

Link copied to clipboard

Target interval frequency in Hz.

Link copied to clipboard

Qualitative accuracy tier — the banded view of score.