-
... w.isNil or:{ window.isClosed }, { window = Window("load a new setup from disk", Rect( (Window.screenBounds.width-500).div(2), (Window.screenBounds.height-480).div(2), 500, 480 ), false); window.view.decorator = flow = FlowLayout(window.view ...
-
... ndow; bounds ?? {bounds = Window.win2Right}; window = Window.new(name, bounds.asRect).front; ^this.new(window, Rect(0,0,bounds.width, bounds.height), font, qpalette, settings, postWhere, postType, postWin, postBool, storeSize); } background ...
-
... ); a.mixer View .enabled .acceptsMouse ( w = Window.new.front; c = NumberBox(w, Rect(20, 20, 150, 20)); a = Slider(w, Rect(20, 60, 150, 20)) .action_({ c.value_(a.value) }); a.action.value; ) a.enabled = false; a.enabled = true; a.backgroun ...
-
... atios.ratioPost, this.pitchSet); }; ^this; } // same as make but the input is directly an array in the format of a Signal.stft *makeFromSpectrum { |f, start = 1.0, end = 2.3, inc = 0.01, method = \parncutt, max = false, numPartials = 10, wi ...
-
... nv,action; bounds = bounds ? (parent.notNil.if { parent.view.bounds } { nil } ? Rect(100,300,620,300)); env = env ? Env([0,1,1,0],[0,0.5,0],[0,0,0],nil,nil); ^super.new.init(parent,bounds,env,action) } init { arg parent,bounds,argEnv,action ...
-
... plot { arg duration=5.0, bounds; {this.value}.plot2(duration,this.server,bounds?Rect(0,0,900,800)) } /** hot patching **/ connectTo { arg hasInput; this.connectToPatchIn(hasInput.patchIn,this.isPlaying ? false); } connectToInputAt { arg pla ...
-
... ot { arg duration=5.0, bounds; {this.value}.plot2(duration, this.server, bounds?Rect(0, 0, 900, 800)) } /** hot patching **/ connectTo { arg hasInput; this.connectToPatchIn(hasInput.patchIn, this.isPlaying ? false); } connectToInputAt { arg ...
-
... wMidLevel; var positions = this.prGetPointPositions; var min = super.interactionRect.height - max( positions[selectedHandle].y, positions[selectedHandle + 1].y ) + super.interactionRect.top; var max = super.interactionRect.height - min( pos ...
-
... topToBundle(bundle)); } gui { arg parent, bounds; ^super.gui(parent, bounds ?? {Rect(100, 100, 900, 600)}) } guiClass { ^MxGui } app { ^app ?? { app = MxApp(this) } } draw { arg pen, bounds, style; // odd master.draw(pen, bounds, style) } }
-
... w, <showView, <perspectiveView; // other var sdClass; *new { |parent, bounds = (Rect(0,0, 1000, 715))| ^super.new(parent, bounds).init; } init { var initOscWidth = 8.degrad; points = []; pointsNorm = []; az = bz + 1; // distance to point fr ...