clearPitchContourFrom

abstract fun clearPitchContourFrom(timeSeconds: Float)

Drop all contour points with timestamp >= timeSeconds, keep everything before.

Intended for live-eval mode (see pitchContour kdoc): call with the current segment's start time whenever the caller is about to begin (or re-begin) capturing that segment. One rule covers retry ("drop current segment, refill"), advance ("drop is a no-op, fresh slot"), and seek-back ("drop this segment plus anything later, refill this segment onward").

In standalone mode, behaves mechanically but isn't particularly useful because the timestamps are the detector's internal tick, not a caller-meaningful time.

Parameters

timeSeconds

Threshold in the same time domain as points fed via feedContour.