polymorphism: better names for .binaryValue and .booleanValue are .asInteger and...
[supercollider.git] / Help / Libraries / JITLib / GUI / NdefMixerOld.html
blob9b05d7d2250a06cc7585f1763e1fa2209aa58e31
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="1038.25">
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: 9.0px Monaco; color: #0023b6; min-height: 12.0px}
13 p.p4 {margin: 0.0px 0.0px 0.0px 57.0px; text-indent: -57.0px; font: 14.0px Helvetica}
14 p.p5 {margin: 0.0px 0.0px 0.0px 57.0px; text-indent: -57.0px; font: 9.0px Monaco; color: #0023b6; min-height: 12.0px}
15 p.p6 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Helvetica; min-height: 17.0px}
16 p.p7 {margin: 0.0px 0.0px 0.0px 57.0px; text-indent: -57.0px; font: 12.0px Helvetica}
17 p.p8 {margin: 0.0px 0.0px 0.0px 57.0px; text-indent: -57.0px; font: 9.0px Monaco; color: #bf1410}
18 p.p9 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #0a26c0}
19 p.p10 {margin: 0.0px 0.0px 0.0px 57.0px; text-indent: -57.0px; font: 12.0px Helvetica; min-height: 14.0px}
20 p.p11 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Helvetica}
21 p.p12 {margin: 0.0px 0.0px 0.0px 57.0px; text-indent: -57.0px; font: 9.0px Monaco; color: #0000bf; min-height: 12.0px}
22 p.p13 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #bf1410}
23 p.p14 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #cd1612}
24 p.p15 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #000000}
25 p.p16 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; min-height: 12.0px}
26 p.p17 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #007300; min-height: 12.0px}
27 p.p18 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco}
28 span.s1 {font: 18.0px Helvetica}
29 span.s2 {font: 9.0px Monaco; color: #0023b6}
30 span.s3 {text-decoration: underline ; color: #1032ee}
31 span.s4 {color: #1135f9}
32 span.s5 {font: 12.0px Helvetica; color: #000000}
33 span.s6 {color: #bf1410}
34 span.s7 {color: #000000}
35 span.s8 {color: #017417}
36 span.s9 {color: #0a26c0}
37 span.s10 {color: #0b28c6}
38 span.s11 {color: #00831b}
39 span.s12 {color: #0000bf}
40 span.s13 {color: #007300}
41 span.Apple-tab-span {white-space:pre}
42 </style>
43 </head>
44 <body>
45 <p class="p1"><span class="s1"><b>NdefMixer</b></span><span class="s2"> </span><b><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>mix control for all Ndefs on a given server<span class="Apple-converted-space"> </span></b></p>
46 <p class="p2"><br></p>
47 <p class="p1"><b>Inherits from:</b> <a href="../../../Core/Object.html"><span class="s3">Object</span></a><b> </b>:<b> </b><a href="ProxyMixer.html"><span class="s4">ProxyMixer</span></a></p>
48 <p class="p2"><br></p>
49 <p class="p1"><b>For more details see: </b><a href="ProxyMixer.html"><span class="s4"><b>ProxyMixer</b></span></a></p>
50 <p class="p3"><br></p>
51 <p class="p3"><br></p>
52 <p class="p4"><b>Creation / Class Methods</b></p>
53 <p class="p5"><br></p>
54 <p class="p6"><b></b><br></p>
55 <p class="p7"><b>*new(server, nProxies = 16, title, bounds)</b></p>
56 <p class="p7"><span class="Apple-tab-span"> </span>Return a new window for a given server.</p>
57 <p class="p7"><span class="Apple-tab-span"> </span>server: Server object (<a href="../../../ServerArchitecture/Server.html"><span class="s4">Server</span></a>) or server name (<a href="../../../Core/Symbol.html"><span class="s4">Symbol</span></a>)</p>
58 <p class="p8"><span class="s5"><span class="Apple-tab-span"> </span></span>// ndef mxers for other servers</p>
59 <p class="p9"><span class="s6"><span class="Apple-tab-span"> </span></span><span class="s7">n = </span>NdefMixer<span class="s7">(</span><span class="s8">\internal</span><span class="s7">);</span></p>
60 <p class="p9"><span class="Apple-tab-span"> </span><span class="s7">n = </span>NdefMixer<span class="s7">(</span><span class="s8">\localhost</span><span class="s7">);</span></p>
61 <p class="p8"><span class="Apple-tab-span"> </span><span class="s7">n = </span><span class="s9">NdefMixer</span><span class="s7">(</span><span class="s8">\trala</span><span class="s7">); <span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span>// fails, no such server</p>
62 <p class="p10"><b></b><br></p>
63 <p class="p7"><b>proxyspace</b></p>
64 <p class="p7"><span class="Apple-tab-span"> </span>Return the proxyspace.</p>
65 <p class="p10"><span class="Apple-tab-span"> </span></p>
66 <p class="p10"><br></p>
67 <p class="p6"><b></b><br></p>
68 <p class="p11"><b>Example</b></p>
69 <p class="p2"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></p>
70 <p class="p12"><br></p>
71 <p class="p13"><span class="s7">n = </span><span class="s9">NdefMixer</span><span class="s7">(s);<span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span>// for the default server</p>
72 <p class="p14">// make a new proxy</p>
73 <p class="p15">(</p>
74 <p class="p15"><span class="s10">Ndef</span>(<span class="s11">\a</span>, {<span class="Apple-converted-space"> </span></p>
75 <p class="p15"><span class="Apple-tab-span"> </span><span class="s10">Pan2</span>.ar(</p>
76 <p class="p15"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span><span class="s10">Ringz</span>.ar(</p>
77 <p class="p15"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span><span class="s10">Impulse</span>.ar(exprand(0.5, 4)),<span class="Apple-converted-space"> </span></p>
78 <p class="p15"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>exprand(300, 3000),<span class="Apple-converted-space"> </span></p>
79 <p class="p15"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>0.02</p>
80 <p class="p15"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>),<span class="Apple-converted-space"> </span></p>
81 <p class="p15"><span class="Apple-tab-span"> </span>1.0.rand2,<span class="Apple-converted-space"> </span></p>
82 <p class="p15"><span class="Apple-tab-span"> </span>0.2)</p>
83 <p class="p15">})</p>
84 <p class="p15">);</p>
85 <p class="p16"><br></p>
86 <p class="p17"><br></p>
87 <p class="p16"><br></p>
88 <p class="p18">n.proxyspace;</p>
89 <p class="p16"><br></p>
90 <p class="p18"><span class="s12">Ndef</span>(<span class="s13">\duster</span>, { <span class="s12">Dust</span>.kr(4) });</p>
91 <p class="p16"><br></p>
92 <p class="p18"><span class="s12">Ndef</span>(<span class="s13">\a</span>).ar;</p>
93 <p class="p18"><span class="s12">Ndef</span>(<span class="s13">\a</span>).fadeTime = 2;</p>
94 <p class="p18"><span class="s12">Ndef</span>(<span class="s13">\a</span>).end;</p>
95 <p class="p16"><br></p>
96 <p class="p16"><br></p>
97 <p class="p16"><br></p>
98 </body>
99 </html>