linux: shared memory interface - link with librt
[supercollider.git] / HelpSource / Classes / Delay2.schelp
blob13a94e3d193a16e064dcc7643b95869cbdfc733a
1 class:: Delay2
2 summary:: Two sample delay.
3 related:: Classes/Delay1
4 categories::  UGens>Delays
7 Description::
9 Delays the input by 2 samples.
12 classmethods::
14 method::ar, kr
16 argument::in
17 Input signal.
19 argument::mul
20 Output will be multiplied by this value.
22 argument::add
23 This value will be added to the output.
25 Examples::
27 code::
30 plot({
31         var z;
32         z = Dust.ar(1000);
33         [z, z - Delay2.ar(z)]   // [ original, subtract delayed from original ]
34 }))