-
... r = Color.new(red: 1, green: (187/255), blue: 82/255, alpha: 1.0); Pen.fillOval(Rect(thresholdX - 10, thresholdY - 10, 20, 20)); // Calculate and draw the compressor curve inputLevels = [minThreshold, threshold, 0]; outputLevels = inputLeve ...
-
... ListPlayer "}, gui: { arg layout; var l; l = layout ?? {PageLayout(~name.value, Rect(0, 0, 500, 600))}; ~source.gui(l); if(layout.isNil, { l.resizeToFit }) }, timeGui: { arg layout, bounds, maxTime; ~elpGui = ~source.guiClass.new(~source); ...
-
... key).asSymbol, () ); ctloop.connectToProxyEditor(n, i); ctloop.makeButton(n.w, Rect (340, i * 16 + 50, 12, 12)); }; )
-
... (200) ) .setSpec( \center, WFSPointSpec(200) ) .setSpec( \radius, WFSRadiusSpec(Rect(0,0,200,200)) ) .setSpec( \clipMode, ListSpec( (..3), 0, [ \clip, \fold, \wrap, \none ] ) ) .setSpec( \clipSoftness, [0,1,\lin,0,0.1].asSpec ) .category_( ...
-
... sIsRecording } // Custom drawFunc draw { var symbolSize = min( super.interactionRect.height * thisSymbolRatio, super.interactionRect.width * thisSymbolRatio ); if(thisIsRecording.not) { thisCurrentBackgroundColor = Color.black; } { thisCurr ...
-
... class to the class library ( GUI .cocoa; w= Window .new.front; v= MyWidget (w, Rect (10,20,200,20)).valueAction_(0.5); q= MyWidget (w, Rect (10,60,200,20)).valueAction_(0.3); )
-
... d( WFSArrayPan.filenameSymbol.asString.dirname +/+ "UnitDefs" ); WFSSpeakerConf.rect( *config[\speakConf][[0,1,3,2]] * [1,1,0.5,0.5] ).makeDefault; if(config[\hostname].notNil){ "starting server mode".postln; WFS.startupServer; }; if(config ...
-
... nob, active; active = false; ~a = Synth(\SimpleSynth); w = Window("Test",Rect(0, 0, 200, 200), scroll: true); w.front; knob = EZKnob(w, 112@70, 'freq', ControlSpec(20, 20000, step: 1, default: 20, units: 'hz'), { arg knob; ~a.se ...
-
... eight array: taken as: [width, height, ... ignored] Point: a width and a height Rect: the first two values x/y will be used as width and height and the rest are ignored. font optional Font, else uses default font Inherited class methods Ins ...
-
... mp, 0.1 rrand: 0.5 ] ) }); // show them all in a window w = Window("mass-edit", Rect(571, 101, 264, 381)).front; w.addFlowLayout; y.do(_.gui(w)); // create a mass editor z = MassEditU( y ); z.gui; ⧉ ✔ helpfile source: /tmp/scquark_hs/UnitLi ...