1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
class:: SmoothDecimator
summary:: port of some ladspa plugins
related:: Classes/CrossoverDistortion, Classes/Decimator, Classes/SineShaper, Classes/Disintegrator
categories:: UGens>Filters
Description::
Decimates (reduces the effective sample rate).
classmethods::
method::ar
argument::in
The input signal.
argument::rate
The rate at which the output signal will be resampled.
argument::smoothing
The amount of smoothing on the output signal.
argument::mul
Output will be multiplied by this value.
argument::add
This value will be added to the output.
Examples::
code::
{SmoothDecimator.ar(SinOsc.ar([400, 404], 0, 0.2), MouseX.kr(0, 44100), MouseY.kr(0, 1))}.play
{SmoothDecimator.ar(SoundIn.ar, MouseX.kr(0, 44100), MouseY.kr(0, 1))}.play
::
|