-
... o make a skipjack to manage updates of the envirgui. default is true. // simple example g = EnvirGui .new(nil, 5); // empty with 5 slots g.object_((a: 1, b: \werty , freq: [500, 2000])); // put some things in g.envir.put( \karl , \otto1 ); ...
-
... emoves an object that was previously registered. *run call the object in order. Examples *initClass { StartUp .add { // something to do... } }
-
... - the wheel on the side of some mice rotation - in degrees, only on the 4d mice Examples ( w = Window .new; t = TabletView (w, Rect (40,40,300,300)); t.background = Color .white; w.front; t.mouseDownAction = { arg view,x,y,pressure,tiltx,ti ...
-
... etOut , if set to true (default: false) for inner workings see jitlib_fading // example a = ProxySynthDef ( "xtest" , { SinOsc .ar(400) * 0.1 }); a.send(s); x = Synth ( "xtest" ); x.release; /* if the resulting number of channels is larger ...
-
... tream. storeOn(stream) Write a compileable string representation to the stream. Examples // associations can be a good way to store named data in order: ( a = [ \x -> 700, \y -> 200, \z -> 900]; fork { a.do { |assoc| assoc.key.postln; assoc ...
-
... ng the filter will do nothing. enable is the filter enabled ? true is default //EXAMPLES // thor's fast experimentation request // example with the filters array wich allows you to use filters without applying them in place // convenient fo ...
-
... oesn't give information, it's often because the code works but not as expected. Example of this are synths (nodes) that execute in the wrong order (a source placed after, instead of before, an effect) and adding instead of multiplying (bias ...
-
... nstance of Rect , or a Point indicating width@height. ( w = Window ( "NumberBox Example" , Rect (100, 500, 400, 120)); b = NumberBox (w, Rect (150, 10, 100, 20)); b.value = rrand(1,15); b.action = { arg numb; numb.value.postln; }; w.front ) ...
-
... fficient to store very large arrays in which many values are the same. Take for example an array consisting of a million zeroes, with a 1 appended to the end; SparseArray would compress this array by storing zero as a default value, and onl ...
-
... 0, 200, 300]))); x = a.asStream; 9.do({ x.next( Event .new).postln; }); ) sound example ( SynthDef ( \sinegrain , { arg out=0, freq=440, sustain=0.02; var env; env = EnvGen .kr( Env .perc(0.001, sustain), 1, doneAction:2); Out .ar(out, SinO ...