-
... shield. . version gives the version number of the firmware. . close stops main loop and free the internal osc responders. Inherited instance methods Examples //start and post every 256th data package (num is the package counter 0-255) c= C ...
-
... 60).midicps, 0, fdistsq.explin(1e-6, 1, 0.5, 0)).sum); }.play; ~updater = Task{loop{ ~foundbus.getn(3, {|data| ~nearests = data.asInteger}); ~mousebus.getn(2, {|data| ~mousepos = data}); s.sync; defer{w.refresh}; 0.1.wait; }}.play ) } ) ⧉ ...
-
... s Instance Methods Inherited instance methods Examples fork { p = ParGroup.new; loop { ( degree: rrand(0.0, 12.0).round(1/4), group: p, db: rrand(-30, -25), pan: rrand(-1.0, 1.0) ).play; 0.2.wait; } } ⧉ ✔ helpfile source: /usr/local/share/S ...
-
... ayButton() .action_({ |playing| if(playing) { routine = Routine({ var beat = 0; loop { if(triggers[beat % triggers.size] == 1) { Synth(\GMWhitePerc); }; 0.2.wait; beat = beat + 1; // Update beat display sequencer.beat_(beat % triggers.size) ...
-
... he function runs with 'condition'... either an integer saying how many times to loop, or an Envelope. When the internal clock has been advanced to the end of the Envelope, it will stop. Class Methods . new Create a new CtkEvent Arguments: s ...
-
... otal range n.nudge(0.1); // nudge permanently to see behavior at borders fork { loop { 0.1.wait; n.nudge(0.03); } }; n.useWrap; // wrap at borders n.useClip; // or clip at borders n.useFold; // default: fold at borders by inverting nudge di ...
-
... (0.4).range(0.5, 5)), Line.kr(12000, 100, 3)); rec = RecordBuf.ar(in, b.bufnum, loop: 0, doneAction: 2); Out.ar(out, in); }; ).add ) Synth(\record); // write the file to analyze later b.write("~/soundFileAnalysisExample.aiff".standardizePat ...
-
... .source = Pbind(\freq, Pgeom(100, Pwhite(1.01, 1.2), 4)); r = Routine { |inval| loop { a.embedInStream(inval) } }; r.nextN(12, ()); // the next 12 values from r a.source = Pbind(\freq, Pgeom([100, 200], Pwhite(1.01, 1.2), 4)); // replace th ...
-
... ("stoped moving node "++ node.spritenum); moving = false; }); task = Task.new({ loop{ if(moving.not){ p.setNodeLoc1_(0, 0.5+(a.next[0]*zoom.value), 0.5)}; dt.wait; }; }); w.front; w.onClose_({ task.stop}) ) ⧉ ✔ System of second order ODE // ...
-
... stomisable button. It allows to switch between multiple states, behaving like a looping counter. It only responds to mouse down clicks, and does not discriminate button identifiers. Class Methods . new Creates a new instance of GMSwitchButt ...