final case class RunningMax[A](in: GE[A], gate: B)(implicit ord: Ord[A]) extends SingleOut[A] with ProductWithAdjuncts
A UGen that tracks the maximum value seen so far, until a trigger resets it.
''Note:'' This is different from SuperCollider's RunningMax
UGen which outputs
the maximum of a sliding window instead of waiting for a reset trigger.
To track a sliding maximum, you can use PriorityQueue
.
- Value parameters:
- gate
a gate that when greater than zero (and initially) sets the the internal state is set to negative infinity.
- in
the signal to track
- Companion:
- object