-
... , \on).value = vel; 0.01.wait; k.elAt(\pad, which , \off).value = 0; }.play; }; Tdef(\player, { var p; inf.do{|i| (i % 4 == 0).if({ p = 0; },{ p = 6.rand; }); m.(p, 1.0.rand); 0.125.wait } }).play k.elAt(\pad, 1).value = 1 ****/ ( deviceNam ...
-
... f| ndef.rate == \audio }).asArray.sort { |px1, px2| px1.key < px2.key } }; q.getTdefs = { Tdef.all.values.asArray.sort { |px1, px2| px1.key < px2.key } }; q.getPdefs = { Pdef.all.values.asArray.sort { |px1, px2| px1.key < px2.key } }; q.get ...
-
... e , \d , \xyz ); // fails // same thing with access to namedbus object by name, Tdef/Pdef/Ndef-like. NamedBus ( \test , [ \a , \b , \c , \d , \e ], [0, 1, 2, 3, 4] * 0.1) v = NamedBus ( \test ).dump v.dump; v.values; v.keys; // setByIndex : ...
-
... '/setndef', \sample, \pos, 1); r.send(\all, '/setndef', \sample, \rate, -3); ( Tdef(\x, { 5.do { r.send(\all, '/setndef', \sample, \rate, 2, \freq, 1170 + 10.0.rand2, \orate, 0.2, \pos, 1); 0.1.wait; } }).play; )
-
... utTask }; outTask.play; } stopSend{ outTask.stop; } createOutputTask{ outTask = Tdef( \miniHiveOut, { var msg; loop{ outMessages.copy.do{ |it,i| it.postln; xbee.sendMsgNoID( it[1][0], it[1].copyToEnd( 1 ) ); outMessages.remove( it ); if ( i ...
-
... mechaPitch: 1, //rrand(0.9, 1.1), \mechaMaxDur , rrand(0.8, 0.9) ]); } }.fork; Tdef ( \greenLight , { var greenAmpeln; loop{ rrand(20, 30.0).wait; greenAmpeln = q.ampeln.asArray.scramble[0..1]; greenAmpeln.do{ |ampel| 0.2.rand.wait; ampel. ...
-
... /*l = ~pulsarDojoBuffer.plot; Plotter l.value = [0,1,0,60,8] l.specs = [[-0,1]] Tdef(\upd, { loop { (1/20).wait; ~pulsarDojoBuffer.getn(0, ~pulsarDojoBuffer.numFrames, {|array| defer { l.value = array; l.specs = [[-1,1].asSpec] } }) } }).pl ...
-
... on to run after NTMI setup finishes NTMI.finalSetup = nil; // flag whether demo tdefs should be loaded NTMI.loadDemos = true;
-
... bd" # hcutoff "<3000 700 900>" # hresonance "0.4" SuperDirt.default = ~dirt; ( Tdef(\x, { loop { (type:\dirt, s: \myNdef, hcutoff: rrand(300.0, 6000), hresonance: 0.8).play; 0.2.wait } }).play ) // live code the Ndef Ndef(\x, { Decay.kr(\t ...
-
... a library which you can load, but also change. The schema works similar to Ndef/Tdef. Using the same name twice overrides the old functions. The name you choose (like \ampTrack) will be a name of the Ndef and an OSCdef Note: all functions h ...