RunningSum

final case class RunningSum[A](in: GE[A], gate: B)(implicit num: Num[A]) extends SingleOut[A] with ProductWithAdjuncts

A UGen that integrates the values seen so far, until a trigger resets it.

''Note:'' This is different from SuperCollider's RunningSum UGen which outputs the sum of a sliding window instead of waiting for a reset trigger. To track a sliding sum, you can subtract a delayed version of RunningSum from a non-delayed RunningSum.

Value parameters:
gate

a gate that when greater than zero (an initially) sets the the internal state is set to zero.

in

the signal to track

Companion:
object
trait Serializable
trait ProductWithAdjuncts
trait SingleOut[A]
trait Lazy[A]
trait GE[A]
trait Lazy
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

override def adjuncts: List[Adjunct]
Definition Classes
ProductWithAdjuncts

Inherited methods

final def name: String
Inherited from:
UGenSource
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product