-
... / action button now remembers the environment ! ~freq.setUnmappedValue( x = 1.0.rand ); ~syncFreq.setUnmappedValue( y = 1.0.rand ); joy.x_(x).y_(y).changed; }); joy = GUI.slider2D.new(layout, 100 @ 100) .action_({ arg sl; // at this time no ...
-
... var currVals = this.getUni, jump; if (currVals.size < 1) { this.setUni(nil, 1.0.rand); } { jump = rrand(currVals.minItem.neg, 1-currVals.maxItem); this.shiftRange(jump, \stop) }; this.doAction }, $R: { |uv, mod| this.setUni(nil, this.makeVa ...
-
... front; v= SCCompositeView .new(w,w.view.bounds.insetBy(10)).background_( Color .rand); v.decorator= FlowLayout (v.bounds); t= Array .fill(9,{ arg i; var n,r,q; n= SCCompositeView .new(v, Rect (20,20,121,121)).background_( Color .rand); q= S ...
-
... t; c.signal; "thread 1> ok, done. Release the semaphore.".postln; }; fork { 3.0.rand.wait; "thread 2> I would like to go on, if I may.".postln; c.wait; // may I? "thread 2> this took until the other thread has released the semaphore. " "Blo ...
-
... ostln;}) .nodeUpAction_({ arg nodeloc; nodeloc.postln}); 30.do({ a.setState_(24.rand, 8.rand, 1); // column, row, state }); }); ) b = a.getNodeStates // clear the grid a.clearGrid // set it back to previous state a.setNodeStates_(b) // draw ...
-
... angle",{ object.disentangle(0.3); }], ["entangle",{ object.entangle(0.3); }], ["RANDOM",{ object.rand(1.0); }] ].collect { |labFunc| Button(leftButtonV, Rect(0, 0, butWid, butH)) .states_([[labFunc[0]]]).action_(labFunc[1]); }; StaticText(l ...
-
... angle",{ object.disentangle(0.3); }], ["entangle",{ object.entangle(0.3); }], ["RANDOM",{ object.rand(1.0); }] ].collect { |labFunc| Button(leftButtonV, Rect(0, 0, butWid, butH)) .states_([[labFunc[0]]]).action_(labFunc[1]); }; StaticText(l ...
-
... r2, eg_r3, eg_r4, eg_L1, eg_L2, eg_L3, eg_L4; // var lfo, pitchenv, output, randomlfo, multiPitch, lfoAmp; // FreeSelf.kr(gate); lfo = Osc.ar(lfo_wave,lfo_speed, lfo_phase, 0.5 * lfoGet2, 0.5 * lfoGet2) + LFNoise0.ar(lfo_speed, 0. ...
-
... vGen.kr(Env.adsr(10,6,1,6),gate,doneAction:2); synth = SinOsc.ar([freq,1700],Rand(0,0.3),0.1) * env; Out.ar(outBus,synth!2) }).add; // Create effect busses k = Bus.audio(s,2); l = Bus.audio(s,2); m = Bus.audio(s,2); ) ...
-
... ck.wav","sounds/snare.wav","sounds/hat.wav"]); s.sync; BBCut2(CutTrig1(bufs, {3.rand},[0.0,0.2,1.0],1.0,1.0), WarpCutProc1.new).play(clock); }); ) ( var bufs, clock; clock= ExternalClock(TempoClock(2.1)); clock.play; Routine.run({ bufs=BBCu ...