mickeyf.docs
    Preparing search index...

    Stabilizes pitch changes and emits committed pitch-class updates.

    “Commit” in this project means: the pitch class is considered stable enough to drive downstream decisions (e.g. pitch→color mapping) without rapid back-and-forth flicker.

    Index

    Constructors

    Accessors

    Methods

    • Updates the tracker for one frame.

      Call frequency: typically once per render/audio frame.

      Parameters

      • input: { clarity: number; dtMs: number; nowMs: number; pitchHz: number }
        • clarity: number

          Pitch confidence in $[0, 1]$.

        • dtMs: number

          Elapsed time since the previous update, in milliseconds.

        • nowMs: number

          Absolute time, in milliseconds (monotonic clock).

        • pitchHz: number

          Raw detected pitch in Hz.

      Returns PitchResult