SuperCollider CLASSES (extension)

Decimator
ExtensionExtension

port of some ladspa plugins
Inherits from: UGen : AbstractFunction : Object

Description

Decimates (reduces the effective sample rate), and reduces the bit depth of the input signal, allows non integer values for smooth transitions between clean and lofi signals.

Class Methods

*ar (in, rate: 44100, bits: 24, mul: 1, add: 0)

Arguments:

in

The input signal.

rate

The sample rate that the signal will be resampled at.

bits

The bit depth that the signal will be reduced to.

mul

Output will be multiplied by this value.

add

This value will be added to the output.

Inherited class methods

Instance Methods

Inherited instance methods

Examples

{Decimator.ar(SinOsc.ar([400, 404], 0, 0.2), MouseX.kr(0, 44100), MouseY.kr(0, 31))}.play

{Decimator.ar(SoundIn.ar, MouseX.kr(0, 44100), MouseY.kr(0, 31))}.play