analyze

fun analyze(contour: PitchContour, metrics: Set<TesseraMetric> = TesseraMetric.ALL, breathConfig: BreathConfig = BreathConfig.DEFAULT, agilityConfig: AgilityConfig = AgilityConfig.DEFAULT, rangeConfig: SearchVectorConfig = SearchVectorConfig.DEFAULT): TesseraResult

Analyze a pitch contour for the requested voice metrics.

Only requested metrics are computed; others are null in the result. The PitchContour is shared across all metrics (no redundant extraction).

Return

TesseraResult with requested metrics populated

Parameters

contour

Pitch contour from pitch detection (must have at least 2 samples)

metrics

Set of metrics to compute (default: all)

breathConfig

Configuration for breath analysis

agilityConfig

Configuration for agility analysis

rangeConfig

Configuration for range analysis