cmake: supernova - missing include_directories() for Jack
[supercollider.git] / Help / UGens / Delays / AllpassN.html
blobe3c6e12c590dacf07a5e70e1aa11190b75b2c881
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <meta http-equiv="Content-Style-Type" content="text/css">
6 <title></title>
7 <meta name="Generator" content="Cocoa HTML Writer">
8 <meta name="CocoaVersion" content="824.42">
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: 18.0px Helvetica; min-height: 22.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; min-height: 14.0px}
14 p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; color: #0000ff}
15 p.p6 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #a71e12}
16 p.p7 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; min-height: 12.0px}
17 p.p8 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco}
18 span.s1 {color: #0000ff}
19 span.s2 {color: #000000}
20 span.s3 {color: #0019b7}
21 span.Apple-tab-span {white-space:pre}
22 </style>
23 </head>
24 <body>
25 <p class="p1"><b>AllpassN<span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>all pass delay line with no interpolation</b></p>
26 <p class="p2"><br></p>
27 <p class="p3"><b>AllpassN.ar(in, maxdelaytime, delaytime, decaytime, mul, add)</b></p>
28 <p class="p3"><b>AllpassN.kr(in, maxdelaytime, delaytime, decaytime, mul, add)</b></p>
29 <p class="p4"><br></p>
30 <p class="p3">All pass delay line with no interpolation. See also <a href="AllpassC.html"><span class="s1">AllpassC</span></a> which uses cubic interpolation, and <a href="AllpassL.html"><span class="s1">AllpassL</span></a> which uses linear interpolation. Cubic interpolation is more computationally expensive than linear, but more accurate.</p>
31 <p class="p4"><br></p>
32 <p class="p5"><span class="s2">See also <a href="BufAllpassN.html">BufAllpassN</a>.</span></p>
33 <p class="p4"><br></p>
34 <p class="p3"><b>in</b> - the input signal.</p>
35 <p class="p3"><b>maxdelaytime</b> - the maximum delay time in seconds. used to initialize the delay buffer size.</p>
36 <p class="p3"><b>delaytime</b> - delay time in seconds.</p>
37 <p class="p3"><b>decaytime</b> - time for the echoes to decay by 60 decibels. If this time is negative then the feedback</p>
38 <p class="p3">coefficient will be negative, thus emphasizing only odd harmonics at an octave lower.</p>
39 <p class="p4"><br></p>
40 <p class="p6">// Since the allpass delay has no audible effect as a resonator on</p>
41 <p class="p6">// steady state sound ...<span class="Apple-converted-space"> </span></p>
42 <p class="p7"><br></p>
43 <p class="p8">{ <span class="s3">AllpassC</span>.ar(<span class="s3">WhiteNoise</span>.ar(0.1), 0.01, <span class="s3">XLine</span>.kr(0.0001, 0.01, 20), 0.2) }.play;</p>
44 <p class="p7"><br></p>
45 <p class="p6">// ...these examples add the input to the effected sound and compare variants so that you can hear</p>
46 <p class="p6">// the effect of the phase comb:</p>
47 <p class="p7"><br></p>
48 <p class="p8">(</p>
49 <p class="p8">{</p>
50 <p class="p8"><span class="Apple-tab-span"> </span>z = <span class="s3">WhiteNoise</span>.ar(0.2);</p>
51 <p class="p8"><span class="Apple-tab-span"> </span>z + <span class="s3">AllpassN</span>.ar(z, 0.01, <span class="s3">XLine</span>.kr(0.0001, 0.01, 20), 0.2)</p>
52 <p class="p8">}.play)</p>
53 <p class="p7"><br></p>
54 <p class="p8">(</p>
55 <p class="p8">{</p>
56 <p class="p8"><span class="Apple-tab-span"> </span>z = <span class="s3">WhiteNoise</span>.ar(0.2);</p>
57 <p class="p8"><span class="Apple-tab-span"> </span>z + <span class="s3">AllpassL</span>.ar(z, 0.01, <span class="s3">XLine</span>.kr(0.0001, 0.01, 20), 0.2)</p>
58 <p class="p8">}.play)</p>
59 <p class="p7"><br></p>
60 <p class="p8">(</p>
61 <p class="p8">{</p>
62 <p class="p8"><span class="Apple-tab-span"> </span>z = <span class="s3">WhiteNoise</span>.ar(0.2);</p>
63 <p class="p8"><span class="Apple-tab-span"> </span>z + <span class="s3">AllpassC</span>.ar(z, 0.01, <span class="s3">XLine</span>.kr(0.0001, 0.01, 20), 0.2)</p>
64 <p class="p8">}.play)</p>
65 <p class="p7"><br></p>
66 <p class="p6">// used as an echo - doesn't really sound different than Comb,</p>
67 <p class="p6">// but it outputs the input signal immediately (inverted) and the echoes</p>
68 <p class="p6">// are lower in amplitude.</p>
69 <p class="p8">{ <span class="s3">AllpassN</span>.ar(<span class="s3">Decay</span>.ar(<span class="s3">Dust</span>.ar(1,0.5), 0.2, <span class="s3">WhiteNoise</span>.ar), 0.2, 0.2, 3) }.play;</p>
70 </body>
71 </html>