-
... 80 resolution 3.do({ preyArray = preyArray.add( XixiPrey.new(Point.new(100+(400.rand), 100+(200.rand)), Rect(10, 5, 620, 470))); }); 4.do({ predatorArray = predatorArray.add( XixiPredator.new(Point.new(-10, -10), Rect(10, 5, 620, 470), prey ...
-
... ; }, "disentangle", { a.disentangle(0.3); }, "entangle", { a.entangle(0.3); }, "RANDOM", { a.rand(1.0); } ].pairsDo { |label, action| Button(q.comp1, Rect(0, 0, 110, 20)).states_([[label]]).action_(action); }; // w.view.decorator.nextLine.s ...
-
... true, channel = 477| q.light(0, 0, 0, 0, 0, flush, channel) }; q.light(*(({255.rand}!3) ++ [0, 128])) q.lightOff ⧉ ✔ Closing the serial port q.enttec.close; ⧉ ✔ helpfile source: /tmp/scquark_hs/SimpleDMXControl/HelpSource/Classes/SimpleEnt ...
-
... // the function is assigned to th slots from 1 to 4 ~z[1..4] = { SinOsc .ar(exprand(300, 600), 0, LFTri .kr({exprand(1, 3)} ! 3).sum.max(0)) * 0.1 }; // the function is assigned to the slots 1, 2 and 3 (subsequent) ~z[1..] = [ { SinOsc .ar ...
-
... close the window. ( w = Window .new(border: false ); w.view.background_( Color .rand); w.front; w.fullScreen; Button .new(w, Rect (200,200,200,200)).states_([[ "Close Window" ]]).action_({w.endFullScreen;w.close}); ) isClosed Returns a Bool ...
-
... ished. x = SynthDef ( "test" , { OffsetOut .ar(0, BPF .ar( Impulse .ar(4) * 10, Rand (9000, 1000), 0.1)) }); // this is why addPrepare is used. a.addPrepare([ "/d_recv" , x.asBytes]); // add is used with synchronous operations, like startin ...
-
... ) { MFdef(\mainPreStep).(-1) } }; MKtl('xtm').elAt(\fx).at(1).elemDesc.label = "rand MFX"; MKtl('xtm').elAt(\fx).at(1).action = { |b| if (b.isOn) { MFdef(\mainPreStep).() } }; MKtl('xtm').elAt(\fx).at(2).elemDesc.label = "next MFX"; MKtl('x ...
-
... = ~ctl1.wrap2(~ctl2) * ~ctl1 / (~ctl2 + ~ctl1); ~pat = Pbind(\freq, Pfunc({ 1.2.rand })); ~z = 9; ~out.set(\freq, 760, \ffreq, 20); ) p.asCompileString; // the document message creates a new document which it posts the code into p.document; ...
-
... d class methods Instance methods spec init value setUnmappedValue unmappedValue rand numChannels addToSynthDef instrArgFromControl rate copy guiClass Inherited instance methods Examples Classes (extension) | Libraries > crucial'>crucial > c ...
-
... er.alloc(s, 2048); b.zero; c.zero; d.zero; ) ( 50.do({ |it| c.set(20*it+10, 1.0.rand) }); 3.do({ |it| b.set(400*it+100, 1) }); 20.do({ |it| d.set(40*it+20, 1) }); ) ( SynthDef("conv-test", { |out, kernel, trig = 0| var input; input = Impuls ...