1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <meta http-equiv=
"Content-Type" content=
"text/html; charset=UTF-8">
5 <meta http-equiv=
"Content-Style-Type" content=
"text/css">
7 <meta name=
"Generator" content=
"Cocoa HTML Writer">
8 <meta name=
"CocoaVersion" content=
"949.43">
9 <style type=
"text/css">
10 p
.p1
{margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px Helvetica
}
11 p
.p2
{margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica
; min-height: 14.0px}
12 p
.p3
{margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica
}
13 p
.p4
{margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica
; color: #0000ff}
14 p
.p5
{margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Monaco
; min-height: 16.0px}
15 p
.p6
{margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco
; min-height: 12.0px}
16 p
.p7
{margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco
; color: #000000}
17 p
.p8
{margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco
; color: #000000; min-height: 12.0px}
18 p
.p9
{margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco
; color: #bf0000}
19 p
.p10
{margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco
}
20 span
.s1
{font: 12.0px Helvetica
}
21 span
.s2
{color: #000000}
22 span
.s3
{color: #0000bf}
23 span
.Apple-tab-span
{white-space:pre
}
27 <p class=
"p1"><b>LFNoise0
<span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></b><span class=
"s1"><b>step noise
</b></span></p>
28 <p class=
"p2"><br></p>
29 <p class=
"p3"><b>LFNoise0.ar(freq, mul, add)
</b></p>
30 <p class=
"p3"><b>LFNoise0.kr(freq, mul, add)
</b></p>
31 <p class=
"p2"><br></p>
32 <p class=
"p3">Generates random values at a rate.
</p>
33 <p class=
"p3"><b>freq
</b> - approximate rate at which to generate random values.
</p>
34 <p class=
"p2"><br></p>
35 <p class=
"p4"><span class=
"s2">see also:
<a href=
"LFDNoise0.html">LFDNoise0
</a>,
<a href=
"LFNoise1.html">LFNoise1
</a>,
<a href=
"LFNoise2.html">LFNoise2
</a></span></p>
36 <p class=
"p5"><br></p>
37 <p class=
"p6"><br></p>
38 <p class=
"p7">{
<span class=
"s3">LFNoise0
</span>.ar(
1000,
0.25) }.play;
</p>
39 <p class=
"p8"><br></p>
40 <p class=
"p9">// modulate frequency
</p>
41 <p class=
"p8"><br></p>
42 <p class=
"p7">{
<span class=
"s3">LFNoise0
</span>.ar(
<span class=
"s3">XLine
</span>.kr(
1000,
10000,
10),
0.25) }.play;
</p>
43 <p class=
"p8"><br></p>
44 <p class=
"p9">// as frequency modulator
</p>
46 <p class=
"p7">{
<span class=
"s3">SinOsc
</span>.ar(
</p>
47 <p class=
"p7"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"s3">LFNoise0
</span>.ar(
4,
400,
450),
</p>
48 <p class=
"p7"><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span>0,
0.2</p>
49 <p class=
"p7"><span class=
"Apple-tab-span"> </span>)
<span class=
"Apple-converted-space"> </span></p>
50 <p class=
"p7">}.play;
</p>
52 <p class=
"p8"><br></p>
53 <p class=
"p9">// freq is the rate of starting points
</p>
54 <p class=
"p10">{
<span class=
"s3">var
</span> freq =
1000; [
<span class=
"s3">LFNoise0
</span>.ar(freq),
<span class=
"s3">Impulse
</span>.ar(freq)] }.plot
</p>