Skip to content

Scalar

  • PChanged: Outputs a 1 if the value of the input pattern has changed,
  • PDiff: Outputs the difference between the current and previous values of an input pattern
  • PSkipIf: If skip is false, returns input; otherwise, returns None.
  • PNormalise: Adaptively normalise input to [0..1] over a linear scale.
  • PMap: Apply an arbitrary function to an input pattern.
  • PMapEnumerated: Apply arbitrary function to input, passing a counter.
  • PScaleLinLin: Map input from linear range [a,b] to linear range [c,d].
  • PScaleLinExp: Map input from linear range [a,b] to exponential range [c,d].
  • PRound: Round input to N decimal places.
  • PScalar: Reduce tuples and lists into single scalar values,
  • PWrap: Wrap input note values within , .
  • PIndexOf: Find index of items from pattern in