-
... tFunction , Functions respond to math operations by creating a new Function. // example ( var a, b, c; a = { [100, 200, 300].choose }; // a Function b = { 10.rand + 1 }; // another Function c = a + b; // c is a Function. c.value.postln; // ...
-
... pipe. You must do this explicitly before the Pipe object is garbage collected. Examples // quit the server s.quit; // this pipes in stdout from ls ( var p, l; p = Pipe .new( "ls -l" , "r" ); // list directory contents in long format l = p. ...
-
... . Default value is 0.33, i.e. off center toward the top on a vertical gradient. Examples // basic usage ( w= Window .new.front; v= CompositeView (w, Rect (50,50,200,50)); v.background= HiliteGradient ( Color .gray, Color .white); ) // chang ...
-
... nge Color, dial Color]. skin skin_ (newskin) Get, set the skin of the knob. See Examples below for how to set a skin. newskin - An instance of Symobl. The default is \default: ( scale: Color .black.alpha_(0.3), center: Color .blue(0.7, 0.5) ...
-
... on. Note that the envelope only transitions to the release node when released. Examples are below. The loop is escaped when a gate signal is sent, when the output transitions to the release node, as described below. s.boot; //.test below w ...
-
... variables, but also to those declared in any enclosing (defining) contexts. For example : The function defined below within makeCounter can access all of the arguments and variables declared in makeCounter . Other code can call the returned ...
-
... ct to capture inside the SCWindow. By default, it is the window size. // WINDOW Example: // First create a window and draw inside of it ( w = SCWindow .new; w.front; // comment this to copy offscreen window w.view.background_( Color .white) ...
-
... hich sets decorator to FlowLayout and returns the decorator. See FlowLayout for examples. margin - An instance of Point gap - An instance of Point children An array containing all the views (children) contained in the the container. Adding ...
-
... is in this implementation taken as sampling from a third party oscillator. See example below. durdist- Choice of distribution for the perturbation of the current inter control point duration. adparam- A parameter for the shape of the ampli ...
-
... t (useful to stop multiple detects on heavy signals) See also FFT Overview . // Examples // external sound in ( { var source1, detect; source1 = SoundIn .ar(0); detect = PV_JensenAndersen .ar( FFT ( LocalBuf (2048), source1), threshold: Mou ...