-
... ing(obj, trg, 0.2, 0.97, 120); spr2 = RedSpring(obj2, trg, 0.7, 0.92, 100); //--loop w.draw{ if(mp!=w.mouse, { //just to keep target in middle if no mouse input trg.loc= w.mouse; }); spr1.update2; //here interconnect first white dot with re ...
-
... , freq, sustain, accelerate, detune=0, voice=0, rate=1, speed=1| var env, trig, loop; freq = (freq * DirtFreqScale.kr(speed, accelerate, sustain))/2; env = EnvGen.ar(Env.linen(0.1, 0.8, 0.1), timeScale:sustain, doneAction:2); trig = Impulse ...
-
... s; // sum the position velSum = velSum + thisBoid.vel; // sum the velocities // loop again boidList.do{|thatBoid, j| var dist; // don't check for boids that are the exact same object if ((thisBoid === thatBoid).not) { // get the distances t ...
-
... s; // sum the position velSum = velSum + thisBoid.vel; // sum the velocities // loop again boidList.do{|thatBoid, j| var dist; // don't check for boids that are the exact same object if ((thisBoid === thatBoid).not) { // get the distances t ...
-
... ); c = Pswitch1([a, b, 75], Pseq([2, 2, 0, 1], inf)); x = c.asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, x.next.midicps]); 0.18.wait; }) }).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Pswitch1 ...
-
... wav"); a.stop; a.play(Platform.resourceDir+/+"sounds/a11wlk01.wav", rate: 0.75, loop:1, startFrame: 50000); a.stop(2); a.free; ⧉ ✔ helpfile source: /tmp/scquark_hs/sInstruments/HelpSource/Classes/SPlayFileDisk.schelp link::Classes/SPlayFile ...
-
... synthdefs directly if necessary s n sound begin end length accelerate cps unit loop delta legato sustain amp gain channel pan note freq midinote octave latency lag offset cut orbit cycle // core, dirt public // you should use this in your ...
-
... 1 ).value_( 0.25 ); m.elementAt( \led, 1 ).value_( 1 ); ( Tdef( \autoaction, { loop{ m.elementAt( \motor ).value_( 1.0.rand ); 1.0.wait; m.elementAt( \led, 0 ).value_( 1.0.rand ); 1.0.wait; m.elementAt( \led, 1 ).value_( 1.0.rand ); 1.0.wa ...
-
... ize; //"dropSize: %\n".postf(maxKeySize); list = Array.new(maxContextSize * 2); loop { // fill up the list dropSize.do { outval = stream.next(inval); outval !? { list = list.add(outval) }; // overridden in subclass. does nothing here: inval ...
-
... er ({ Tdef(\flatcatSim).stop.play }, 1); // stop this tdef from unintended self-looping (happens sometimes) Tdef(\allLEDs).clear; // NetLib quark has this: NetAddr.myIP // nUFO NTMI network address is: "169.254.1.2" // close nUFO device whe ...