-
... ; sig = SinOsc.ar(freq, 0.5pi) * env * amp; OffsetOut.ar(out, sig); }).add; ) ( Tdef(\x, { loop { var dt = 0.1; ( instrument: \gabor, note: ~module.next * 4, sustain: dt * 1.5, // 50% overlap width: 0.3 ).play; dt.wait; }; }).play ) // play ...
-
... ) (instrument: \xxy, freq: 500, server: t).play // make a gui where you see all Tdefs (task proxies): TdefAllGui(12); // put together a little task that combines events, and // plays them on some servers: ( Tdef(\x2, { var servers = r.serve ...
-
... q.rg.zone.resize_(1); q.rg.zone.bounds_(q.rg.zone.bounds.height_(500)); q.tg = TdefAllGui(8, parent: w); q.pg = PdefAllGui(8, parent: w); q.pg.zone.bounds_(q.pg.zone.bounds.moveTo(510, 5)); Tdef(\next); Tdef(\stop); Pdef(\ida); Pdef(\knowh ...
-
... 40) * (1 - env) ).sum; Out.ar(out, son * env * 0.1); }).share; ) // repeat it ( Tdef(\x, { loop { 0.5.wait; (instrument: \xxy, freq: 600, server: r.servers.choose).play } }).play ) // get a mouse value from sending machine, // and use it to ...
-
... sg, time| if (NTMI.nUFO.lastInTime == 0 or: { NTMI.nUFO.timeSinceLast > 10 }) { Tdef(\allLEDs).play; }; NTMI.nUFO.deviceName = \xosc; NTMI.nUFO.lastInTime = time; }, "/imu").permanent_(true); /* // test wakeup ballet: // if first time, or l ...
-
Butz(\NTMI_DEMO).add(\Demo_nanoKtl, { Tdef(\Demo_nanoKtl).play }); /* Tdef(\Demo_nanoKtl).stop.play; Tdef(\Demo_nanoKtl).stop; */ ( Tdef(\Demo_nanoKtl, { var myname = \Demo_nanoKtl; "\n\n*** Tdef('%') starts!\n\n".postf(myname); Butz(\NTMI) ...
-
/* ( Tdef(\testShout, { loop { r.shout("hey," + r.nameList.choose + "- watch out!"); rrand(2.0, 5.0).wait }; }).play; ) */ + Republic { shout { |str| str = str ? ""; this.send(\all, '/hist', nickname, Shout.tag + str) } }
-
... me| // if (NTMI.nufo.lastInTime == 0 or: { NTMI.nufo.timeSinceLast > 10 }) { // Tdef(\allLEDs).play; // }; // NTMI.nufo.deviceName = \xosc; // NTMI.nufo.lastInTime = time; // }, "/imu").permanent_(true);
-
... ('PUBLIC')); Butz.add('ndefmix', { WinBounds.showOrMake(\ndefmix) }); Butz.add('Tdef.all', { WinBounds.showOrMake('Tdef.all') }); Butz.add('Pdef.all', { WinBounds.showOrMake('Pdef.all') }); Butz.add(\DRAW, { WinBounds.showOrMake(\DRAW) }); ...
-
... lue; NTMI.flatcat.sendDrift.value; */ // simulate slowly drifting flatcat moves Tdef(\flatcatSim).addSpec(\drift, [0, 0.1]); Tdef(\flatcatSim).set(\drift, 0.03); Tdef(\flatcatSim, { |env| loop { 0.05.wait; NTMI.flatcat.sendDrift(env.drift); ...