final case class ProgressFrames[A, L](in: GE[A], numFrames: GE[L], label: String)(implicit numL: NumInt[L]) extends ZeroOut with ProductWithAdjuncts
A variant of progress UGen for the common case where one wants to count the incoming frames of a signal.
It is possible to instantiate multiple instances of this UGen, in which cases their individual progress reports will simply be added up (and clipped to the range from zero to one).
The progress update is automatically triggered, using a combination where both the progress fraction (0.2%) and elapsed time (100ms) must have increased.
- Value parameters:
- in
signal whose length to monitor
- label
the label can be used to distinguish the contributions of different progress UGens
- numFrames
the expected length of the input signal
- Companion:
- object