Classes | UGens > Filters > Nonlinear

Median : Filter : PureUGen : UGen : AbstractFunction : Object

Median filter.
Source: Filter.sc

Description

Returns the median of the last length input points. This non-linear filter is good at reducing impulse noise from a signal.

Class Methods

Median.ar(length: 3, in: 0.0, mul: 1.0, add: 0.0)

Median.kr(length: 3, in: 0.0, mul: 1.0, add: 0.0)

Arguments:

length

Number of input points in which to find the median. Must be an odd number from 1 to 31. If length is 1 then Median has no effect.

in

The input signal.

mul

Output will be multiplied by this value.

add

This value will be added to the output.

Inherited class methods

1 methods from Filter ► show
7 methods from UGen ► show
7 methods from Object ► show

Instance Methods

Inherited instance methods

92 methods from UGen ► show
159 methods from AbstractFunction ► show
260 methods from Object ► show

Examples