scide: implement selectionLength for openDocument
[supercollider.git] / HelpSource / Classes / LFNoise0.schelp
blob4df4d6fce95fbddd7db8dad35da02ffa2f4fe042
1 class:: LFNoise0
2 summary:: Step noise
3 related:: Classes/LFClipNoise, Classes/LFDClipNoise, Classes/LFDNoise0, Classes/LFDNoise1, Classes/LFDNoise3, Classes/LFNoise1, Classes/LFNoise2
4 categories::  UGens>Generators>Stochastic
7 Description::
9 Generates random values at a rate given by the nearest integer division
10 of the sample rate by the  code::freq::  argument.
13 classmethods::
15 method::ar, kr
17 argument::freq
18 Approximate rate at which to generate random values.
20 argument::mul
21 Output will be multiplied by this value.
23 argument::add
24 This value will be added to the output.
26 Examples::
28 code::
29 { LFNoise0.ar(1000, 0.25) }.play;
31 // modulate frequency
33 { LFNoise0.ar(XLine.kr(1000, 10000, 10), 0.25) }.play;
35 // as frequency modulator
37 { SinOsc.ar(
38                 LFNoise0.ar(4, 400, 450),
39                 0, 0.2
40         )
41 }.play;
44 // freq is the rate of starting points
45 { var freq = 1000; [LFNoise0.ar(freq), Impulse.ar(freq)] }.plot