Policy dependencies and tuning. The provided pitch hysteresis tracker instance
Most recent non-silence (or idle) color chosen by the policy.
Computes the current pitch-driven color decision.
Heuristics (high level):
silenceRanges.pitchClassToHue).noteStep is enabled, color updates only on commit events (result.changed).Determinism: given the same internal state and inputs, results are deterministic except when sustained silence triggers a random idle color.
Maps stabilized pitch to HSL color.
This class is stateful: