setContourMaxDuration

abstract fun setContourMaxDuration(seconds: Float)

Set the maximum duration for the live pitch contour.

Older points are removed when the contour exceeds this duration. Call this when starting a new segment to match segment duration.

Parameters

seconds

Maximum duration in seconds