-
... 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); ...
-
... indow.bounds = g.window.bounds.moveBy(100,50); ); ) // Simplest sound example ( Tdef ( \text ).set( \note , [0, 2, 7], \dur , { [0.1, 0.2].choose }); w = Window ( "EZTexts" , Rect (200, 400, 304, 120)).front; w.addFlowLayout; TdefEditor ( T ...
-
... x.use { ~rate = 1.2 }; /// modify parameters x.play; // sequencing in a task ( Tdef(\x, { var keys = ~labels.dict.keys; 5.do { ~labels.at(keys.choose).play; 0.4.wait; } }).play ) // sequencing in a contiguous series ( Tdef(\x, { var keys = ...
-
... .0.rand, [\that, 3.0, 4.5], ] * rrand(0.5, 1.5)); ) // moving in the timeline ( Tdef(\x, { var endTime = ~player.lastEndTime; inf.do { ~player.jumpTo(endTime.rand); 2.0.rand.wait; } }).play ) // clear ~player.clear; // dynamic score ( Tdef( ...
-
... , 4); f.mapToEnvirGui(e); ) mapToPdefGui(gui, indices) - map to a PdefGui. mapToTdefGui(gui, indices) - map to a TdefGui. gui the gui indices which sliders to map to. default is [1, 2 .. 8]. ( Tdef ( \a , { |e| 100.do { |i| i.postln; 0.5.wa ...
-
... tart oscar&xflux NTMI.oscar.makeServer; // activate flatcat simulation defer ({ Tdef(\flatcatSim).stop.play }, 1); *****/ // load all supported interfaces NTMI.interfacesToLoad = [ "nUFO", "uc4", "mu8", "nanoKtl", "dual_analog_3_2", "dual_a ...
-
... ndow.bounds = g.window.bounds.moveBy(100, 50); ); ) // Simplest sound example ( Tdef(\text).set(\note, [0, 2, 7], \dur, { [0.1, 0.2].choose }); w = Window("EZTexts", Rect(200, 400, 304, 120)).front; w.addFlowLayout; TdefGui(Tdef(\text), 0, ...
-
... defnAllGui(15).parent.view ), VLayout( StaticText().fixedSize_(512@12).string_("TDEF"), TdefAllGui(35).parent.bounds_(512@70).view ) ); } }