pitchContour

The session's pitch contour — every detected frame, in detection order, recorded losslessly. Filled by feedContour; each frame is back-spread from the supplied anchor by the detector's hop, so the latest frame lands at anchorTime and earlier ones at anchorTime - K*hopSec.

Read it two ways (see PitchContourRecorder):

  • pitchContour.snapshot() — the whole contour, for post-session scoring / analysis.

  • pitchContour.recent(seconds) — the last N seconds, for a scrolling visualization, pulled per render frame.

It is unbounded (holds the whole session) and not reactive — it copies on read, never on write. For segment-aware retry / seek-back use clearPitchContourFrom; to wipe it use clearPitchContour.