BreathMetrics

data class BreathMetrics(val controlScore: Float?, val phrases: PhraseSummary?, val alignmentScore: Float? = null)

Combined breath analysis result for a single recording.

Produced by TesseraBreath.analyze. Carries the sigmoid control score, optional phrase-level structure (when the recording has enough phrase boundaries to segment), and an optional alignment score (when a reference recording was supplied).

Constructors

Link copied to clipboard
constructor(controlScore: Float?, phrases: PhraseSummary?, alignmentScore: Float? = null)

Properties

Link copied to clipboard

Phrase-alignment match score in 0, 1 when a reference recording was provided to TesseraBreath.analyze. Null otherwise, or when either recording is too short to align.

Link copied to clipboard

Sigmoid-scaled breath control score in [0, 1). Null when the recording has no detectable breath signal (equivalent sustain time is zero), since the sigmoid output for that case is mathematically valid but semantically meaningless.

Link copied to clipboard

Per-phrase structural data, null when audio has insufficient phrase structure.