-
... e drag or reduce the strength of springs and attractions to keep it stable. The example Random Arboretum has sections of code you can uncomment to experiment with this. . setGravity set the strength of gravity, down (in the positive y direc ...
-
... 2009 // correct display of all ascii characters from Document interpretation /* example: "blŸmen".postln; // -> blümen "blŸmen".asciiCorrect.postln; // -> blŸmen */ + String { asciiCorrect { var str, table; str = this; table = #[ [ [ 194, ...
-
... new ; r = Runner .new(g).gui ; p = GraphParser (g, r).gui(10) ; // smaller step Examples See before
-
... ETHOD:: drawLabels (describe method here) returns:: (describe returnvalue here) EXAMPLES:: code:: (some example code) :: ⧉ ✔ link::Classes/Plot::
-
... wise continue. signal unblock the semaphore, reschedule next pending thread. // example // allow only one thread ( c = Semaphore (1); fork { c.wait; "thread 1> now I am doing something for 10 seconds. Block the semaphore meanwhile." .postln ...
-
... . - Stopping a task and restarting it quickly may yield surprising results (see example below), but this is necessary to prevent tasks from becoming unstable if they are started and/or stopped in rapid succession. Task.new(func, clock) func ...
-
... s on the instrument and leave it to perform on its own. The user could then for example open up another instance of Soundscratcher to perform with.
-
... the music has a circular event structure where absolute phase does not matter. Examples t = SoftClock .new; ( ( SynthDef ( \ping , { |freq, pan, amp=0.3| var e, z; e= EnvGen .ar( Env .perc(0, 0.1, amp), doneAction:2); z= SinOsc .ar(freq, 0 ...
-
... ction between a SSWorld and a device with orientation sensing capabilities (for example a smartphone) // // Provides easy access to events, and looping capabilities /////////////////////////////////////////////////////////////////////////// ...
-
... ay, coef: dampen); Out.ar(0, [snd, snd]); }).add; ) // Example s.record; ( Pbind( \instrument, "hihat", \dur, Pseq([1/2, 1/2, Rest(1/4), 1/16, Rest(1/16), 1/16, Rest(1/16), 1/16, Rest(1/16), 1/16, 1/16, R ...