-
... bview2; if( parent.isNil ) { parent = this.class.asString; bounds = bounds ?? { Rect( 190 rrand: 220, 70 rrand: 100, (420 + (editWidth + 4)), 460 + (4 * 18) ) }; } { bounds = parent.asView.bounds; }; RoundView.pushSkin( UChainGUI.skin ); vi ...
-
... ex.postln; [real, (complex.magnitude), (complex.phase) ].flop.flat .plot("fft", Rect(0, 0, 1024 + 8, 500), numChannels: 3); max = 0; y = complex.magnitude; y.do { arg val; if(val > max, { max = val }) }; max ) // how to create the arbitrary ...
-
... s a projection asSpherical { ^Spherical.new(this.rho, this.theta, this.phi) } asRect { ^Rect.new(0,0,x,y) } // implemented as a projection asArray { ^[this.x, this.y, this.z] } == { arg aCartesian; ^aCartesian respondsTo: #[\x, \y, \z] and: ...
-
... nstruments or guis. ( //Setup GUI a = Slider(); b = Slider(); w = Window(bounds:Rect(200,200,200,100)).layout_( HLayout( StaticText().string_("In:"), a, StaticText().string_("Out:"), b ) ); w.front; ) //start event graph ( ENdef(\graph1,{ / ...
-
... y is now object nSliders is now numItems parent is still parent bounds - can be Rect(l, t, w, h) or width@heights makeSkip - an option to build without skipjack. extras are now options , and have become more flexible. Please see NdefGui for ...
-
... ing with documents such as super collider code files. By default the document directory is SuperCollider's application directory. *dir *dir_ (path) Get/set the default document directory. The default is dependent on Document.implementationC ...
-
... ne.shift(0, 2); envirGui = ParamGui( try { this.object.envir }, numItems, zone, Rect(0, 20, lineWidth, numItems * height), false ); } } + NdefGui { object_ { |obj| super.object_(obj); if(paramGui.notNil) { paramGui.useHalo(this.object); }; ...
-
... ln; // posts [[2, 2], [3, 3], [4, 4], [5, 5]] ) ⧉ ✔ In the following example, directly reusing the same Routine object twice in a Pseq fails to duplicate its output, because the first embedding fully consumes the routine's (non-nil) output. ...
-
... on is retrieved in the following order: The SynthDef object itself, if passed directly (as when using SynthDef:autogui ). SynthDefStorage , a dictionary populated by an overridden build method each time a SynthDef is compiled. SynthDescLib ...
-
... SinOsc .ar(freq), pan, env)) }).memStore; z = (); z.win = SCWindow ( "rough" , Rect (65, 90, 150,210)); z.view = SCCompositeView (z.win, Rect (5,5,140,185)); z.view.background = Color .gray(0.6); z.view.decorator = FlowLayout (z.view.bound ...