oneShot: free the responder before running user func (avoid error)
[supercollider.git] / HelpSource / Classes / LFClipNoise.schelp
blob1fb658a7ec491c0b5ab85f6b2970ebf6132e5954
1 class:: LFClipNoise
2 summary:: Clipped noise
3 related:: Classes/LFDClipNoise, Classes/LFDNoise0, Classes/LFDNoise1, Classes/LFDNoise3, Classes/LFNoise0, Classes/LFNoise1, Classes/LFNoise2
4 categories::  UGens>Generators>Stochastic
7 Description::
9 Randomly generates the values -1 or +1 at a rate given by the nearest
10 integer division of the sample rate by the  code::freq:: 
11 argument. It is probably pretty hard on your speakers!
14 classmethods::
16 method::ar, kr
18 argument::freq
19 Approximate rate at which to generate random values.
21 argument::mul
22 Output will be multiplied by this value.
24 argument::add
25 This value will be added to the output.
27 Examples::
29 code::
32 SynthDef("help-LFClipNoise", { arg out=0;
33         Out.ar(out, 
34                 LFClipNoise.ar(1000, 0.25)
35         )
36 }).play;
39 //modulate frequency
41 SynthDef("help-LFClipNoise", { arg out=0;
42         Out.ar(out, 
43                 LFClipNoise.ar(XLine.kr(1000, 10000, 10), 0.25)
44         )
45 }).play;
48 //use as frequency control
50 SynthDef("help-LFClipNoise", { arg out=0;
51         Out.ar(out, 
52                 SinOsc.ar(
53                         LFClipNoise.ar(4, 200, 600),
54                         0, 0.2
55                 )
56         )
57 }).play;