sclang: ServerShmInterface - try to avoid multiple destructor calls
[supercollider.git] / HelpSource / Classes / LFNoise1.schelp
blob957d13f41804fe4c31c32b95b74e8b1b3f26e60c
1 class:: LFNoise1
2 summary:: Ramp noise
3 related:: Classes/LFClipNoise, Classes/LFDClipNoise, Classes/LFDNoise0, Classes/LFDNoise1, Classes/LFDNoise3, Classes/LFNoise0, Classes/LFNoise2
4 categories::  UGens>Generators>Stochastic
7 Description::
9 Generates linearly interpolated random values at a rate given by the
10 nearest integer division of the sample rate by the
11 code::freq::  argument.
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::
30 { LFNoise1.ar(1000, 0.25) }.play;
32 // modulate frequency
34 { LFNoise1.ar(XLine.kr(1000, 10000, 10), 0.25) }.play;
36 // as frequency modulator
38 { SinOsc.ar(
39                 LFNoise1.ar(4, 400, 450),
40                 0, 0.2
41         )
42 }.play;
45 // freq is the rate of starting points
46 { var freq = 1000; [LFNoise1.ar(freq), Impulse.ar(freq)] }.plot