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: 12.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
; color: #0021e7}
13 p
.p4
{margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco
; color: #bf0000}
14 p
.p5
{margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco
; color: #000000}
15 p
.p6
{margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Monaco
; color: #000000; min-height: 16.0px}
16 p
.p7
{margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco
; color: #ad140d}
17 p
.p8
{margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco
}
18 p
.p9
{margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco
; color: #ad140d; min-height: 12.0px}
19 span
.s1
{font: 18.0px Helvetica
}
20 span
.s2
{color: #000000}
21 span
.s3
{text-decoration: underline
}
22 span
.s4
{text-decoration: underline
; color: #0000ff}
23 span
.s5
{color: #0000bf}
24 span
.s6
{color: #001bb9}
25 span
.Apple-tab-span
{white-space:pre
}
29 <p class=
"p1"><span class=
"s1"><b>BrownNoise
<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><b>browninan motion
</b><span class=
"s1"><b><span class=
"Apple-tab-span"> </span></b></span></p>
30 <p class=
"p2"><br></p>
31 <p class=
"p1"><b>BrownNoise.ar(mul, add)
</b></p>
32 <p class=
"p1"><b>BrownNoise.kr(mul, add)
</b></p>
33 <p class=
"p2"><br></p>
34 <p class=
"p1">Generates noise whose spectrum falls off in power by
6 dB per octave.
</p>
35 <p class=
"p2"><br></p>
36 <p class=
"p3"><span class=
"s2">see also:
<a href=
"WhiteNoise.html"><span class=
"s3">WhiteNoise
</span></a>,
<a href=
"PinkNoise.html"><span class=
"s4">PinkNoise
</span></a><a href=
"BrownNoise.html"><span class=
"s3">,
</span></a> <a href=
"../../Other Topics/Randomness.html"><span class=
"s3">Randomness
</span></a></span></p>
37 <p class=
"p2"><br></p>
38 <p class=
"p4">// compare
</p>
39 <p class=
"p5">{
<span class=
"s5">BrownNoise
</span>.ar(
0.5) }.play;
</p>
40 <p class=
"p5">{
<span class=
"s5">WhiteNoise
</span>.ar(
0.5) }.play;
</p>
41 <p class=
"p6"><br></p>
42 <p class=
"p7">// brownian noise as a frequency modulator
</p>
43 <p class=
"p8">{
<span class=
"s6">SinOsc
</span>.ar(
<span class=
"s5">BrownNoise
</span>.ar(
100,
200)) *
0.1 }.play;
</p>
44 <p class=
"p9"><br></p>
45 <p class=
"p7">// filtered brown noise
</p>
46 <p class=
"p8">{
<span class=
"s6">BPF
</span>.ar(
<span class=
"s5">BrownNoise
</span>.ar(
0.1.dup), MouseX.kr(
40,
17000,
1),
0.2) }.play;
</p>