SlidingPercentile

final case class SlidingPercentile[A](in: GE[A], len: I, frac: D, interp: I)(implicit num: Num[A]) extends SingleOut[A] with ProductWithAdjuncts

A UGen that reports a percentile of a sliding window across its input. The UGen starts outputting values immediately, even if the median window len is not yet reached. This is because len can be modulated. If one wants to discard the initial values, use a drop.

Note that for an even median length and no interpolation, the reported median may be either the value at index len/2 or len/2 + 1 in the sorted window.

All arguments are polled at the same rate. Changing the frac value may cause an internal table rebuild and can thus be expensive.

Value parameters:
frac

the percentile from zero to one. The default of 0.5 produces the median.

in

the input to analyze

interp

if zero (default), uses nearest-rank, otherwise uses linear interpolation. '''Note:''' currently not implemented, must be zero

len

the length of the sliding median window

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