BreathFunction

data class BreathFunction(val values: FloatArray, val times: FloatArray, val equivalentSustainTime: Float)

Intermediate breath function result.

Produced by TesseraBreath.computeBreathFunction, consumed by TesseraBreath.analyze and TesseraBreath.compare.

Constructors

Link copied to clipboard
constructor(values: FloatArray, times: FloatArray, equivalentSustainTime: Float)

Properties

Link copied to clipboard

Seconds of continuous voicing from zero needed to reach the peak breath function value. Used as input to the control score sigmoid.

Link copied to clipboard

Timestamps in seconds at the configured feature rate (default 30 Hz)

Link copied to clipboard

Breath function values — exponential growth during voiced segments, decay during unvoiced. Higher values indicate longer sustained voicing. Same length as times.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int