cmake: supernova - missing include_directories() for Jack
[supercollider.git] / Help / UGens / Delays / Delay1.html
blobed539429b799444f97c0151c031640b48c7575aa
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="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 Monaco; min-height: 16.0px}
13 p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco}
14 p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #ad140d}
15 span.s1 {font: 18.0px Helvetica}
16 span.s2 {color: #001bb9}
17 span.s3 {color: #000000}
18 span.Apple-tab-span {white-space:pre}
19 </style>
20 </head>
21 <body>
22 <p class="p1"><span class="s1"><b>Delay1<span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></b></span><b>single sample delay</b></p>
23 <p class="p2"><br></p>
24 <p class="p1">Delays the input by 1 sample.</p>
25 <p class="p1"><b>Delay1.ar(in, mul, add)</b></p>
26 <p class="p2"><br></p>
27 <p class="p1"><b>in</b> - input to be delayed.</p>
28 <p class="p2"><br></p>
29 <p class="p1"><i>Note:</i> for audio-rate signals the delay is 1 audio frame, and for control-rate signals the delay is 1 control period.</p>
30 <p class="p3"><br></p>
31 <p class="p4">(</p>
32 <p class="p4">plot {</p>
33 <p class="p4"><span class="Apple-tab-span"> </span><span class="s2">var</span> z;</p>
34 <p class="p4"><span class="Apple-tab-span"> </span>z = <span class="s2">Dust</span>.ar(1000);</p>
35 <p class="p5"><span class="s3"><span class="Apple-tab-span"> </span>[z, z - </span><span class="s2">Delay1</span><span class="s3">.ar(z)] <span class="Apple-tab-span"> </span></span>// [ original, subtract delayed from original ]</p>
36 <p class="p4">}</p>
37 <p class="p4">)</p>
38 <p class="p3"><br></p>
39 <p class="p4">(</p>
40 <p class="p4">scope {</p>
41 <p class="p4"><span class="Apple-tab-span"> </span><span class="s2">var</span> z = <span class="s2">LFNoise1</span>.ar(290);</p>
42 <p class="p5"><span class="s3"><span class="Apple-tab-span"> </span>[z, </span><span class="s2">Delay1</span><span class="s3">.ar(z) &gt; z] </span>// [original, 1 if rising, else 0]</p>
43 <p class="p4">}</p>
44 <p class="p4">)</p>
45 <p class="p3"><br></p>
46 <p class="p3"><br></p>
47 <p class="p3"><br></p>
48 </body>
49 </html>