VocalRangeState

data class VocalRangeState(val phase: VocalRangePhase = VocalRangePhase.IDLE, val countdownSeconds: Int = 0, val phaseMessage: String = "Ready to detect your vocal range", val currentPitch: VocalPitch? = null, val currentAmplitude: Float = 0.0f, val stabilityProgress: Float = 0.0f, val bestLowNote: DetectedNote? = null, val bestHighNote: DetectedNote? = null, val lowNote: DetectedNote? = null, val highNote: DetectedNote? = null, val result: VocalRangeSessionResult? = null, val error: String? = null)

Observable state emitted during vocal range detection.

Constructors

Link copied to clipboard
constructor(phase: VocalRangePhase = VocalRangePhase.IDLE, countdownSeconds: Int = 0, phaseMessage: String = "Ready to detect your vocal range", currentPitch: VocalPitch? = null, currentAmplitude: Float = 0.0f, stabilityProgress: Float = 0.0f, bestLowNote: DetectedNote? = null, bestHighNote: DetectedNote? = null, lowNote: DetectedNote? = null, highNote: DetectedNote? = null, result: VocalRangeSessionResult? = null, error: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard