-
... d, which , \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 ****/ ( ...
-
... d robin d1 $ sound "fooloopRec" -- stop recording and replacing d1 $ silence -- play recorded loop 3 (bufnamePrefix++counter) d5 $ sound "fooloop3" # gain "0.7" -- reset buffers. once $ sound "fooloopReset" */ ( var functions = (); // make ...
-
... 0,30)).states_([[i], [i, Color.black, Color.green]]) .action_({ q.chantest.pink.play(i - 1) }); }; q.chantest.taskgui = TdefGui(q.chantest.task, 4, q.chantest.win); q.chantest.taskgui.name = "looptest"; q.chantest.pinkgui = NdefGui(q.chante ...
-
... = Server(\myServer, NetAddr("127.0.0.1", 57000)); n.boot {PinkNoise.ar(0.1)!2}.play(n) ///////////////////////////// p = Server(\scideS2, NetAddr("127.0.0.1", 57006)); p.boot p = Server(\myServer2, NetAddr("127.0.0.1", 57001)); p.boot {Pin ...
-
//agents playing game-of-life. objects are neightbours if they touch //standard rule modified to also include: if no neighbours then become alive //with mouse controlling world gravity //with sound on/off ( s.waitForBoot{ var width= 300, he ...
-
... s = #[\zeroFive, \minusFiveFive, \korgZeroFive, \korgMinusFiveFive]; classvar < playTypes = #[\beat, \bar]; var < outs, < tempoBusses, < clocks, < deviceGroup, < gateBusses, < gates, < tempos, clocksTempoMap; *new{ arg channels, server; if( ...
-
... choice mode. Possible modes are: 'highest': (default) use the highest currently playing note 'lowest': use the lowest currently playing note 'loudest': use the note with the highest velocity value 'softest': use the note with the lowest vel ...
-
... de string. // It's a hack, but I'm under some logistical constraints. + AbstractPlayControl { storeOn2 { | stream | source.storeOn2(stream) } } + Symbol { isBasicOperator { ^#['+', '-', '*', '/', '%', '==', '!=', '<', '<=', '>', '>=', '&&', ...
-
... inote: num, amp: vel / 127.0, skipArgs: #[pan], gt: 1, t_trig: 1, sustain: inf).play; this.changed(\noteOn, num, vel); } noteOff { |num, vel| notes.remove(num); if(notes.size > 0) { (type: \psSet, proxyspace: proxyspace, midinote: notes.las ...
-
... nd(\instrument, \sinegrain, \note, Pseq([6, [3, 5, 8], 2, 0], inf), \dur, 0.25).play(quant: 2); ) // reset to normal: ( ~dirt.receiveAction = nil; TempoClock.default.tempo = 1; )