SkewUGen:
Filter:
SenseWorld/Classes (extension) | UGens > Analysis > Statistics

SkewUGen
ExtensionExtension

Calculates the skewness of a signal over a specified time window.

Description

SkewUGen is a pseudo UGen that calculates the skewness of a signal over a specified time window.

Skewness is a measure of the asymmetry of the probability distribution of a real-valued random variable about its mean.

Class Methods

.kr

Calculates the skewness of a control rate signal.

Arguments:

input

The signal to calculate the skewness of.

length

The length in samples of the window.

stddev

If you already calculate a standard deviation (=StdDevUGen) in another part of your SynthDef you can supply it here, so it is not calculated again, thus safing processing power.

mean

If you already calculate a mean (=RunningSum/length) in another part of your SynthDef you can supply it here, so it is not calculated again, thus safing processing power.