-
... Pos = x@y; } }) .mouseMoveAction_({|v, x, y, mod| var point; if(moving) { x = x.clip(0,width); y = y.clip(0,window.view.bounds.height); point = WFSPointArray[WFSPoint(x,window.view.bounds.height-y)].scaleFromRect(newRect, fromRect)[0]; this ...
-
... nv.perc(0.01, 0.1, level: freqMul), t_trig, levelBias: 1 ); (~ffreq.kr(1) * eg).clip(20, 20000) }; // patch the filter envelope to the filter's frequency input ~lpf.set(\ffreq, ~feg); ~feg.set(\freqMul, 40); ~lpf.set(\rq, 0.1); // change th ...
-
... ).width/2, ub.height*0.35), f1); Pen.pop; alphaY= h3-(h3-h1*(alpha/bands[0][4]).clip(0, 1)); betaY= h3-(h3-h1*(beta/bands[1][4]).clip(0, 1)); Pen.push; Pen.translate(ub.width*0.575, ub.height*0.1); Pen.strokeColor= unfocusedColor; Pen.width ...
-
... e, \dbFactor, dbFactor]); }); } freqMode_ { arg mode; freqMode = mode.asInteger.clip(0,1); if(active, { server.sendMsg("/n_free", node); node = server.nextNodeID; this.start; }); } cmdPeriod { scope.changed(\cmdPeriod); // XXX was this if(a ...
-
... penClass ?? { GUI.pen }; this.asPenFunction( penClass ).value; penClass.fill; } clip { |penClass| penClass = penClass ?? { GUI.pen }; this.asPenFunction( penClass ).value; penClass.fill; } drawExtruded { |penClass, border = 2, angle, invers ...
-
... st's Array. at(index) Return the item at index . List [ 1, 2, 3 ].at(0).postln; clipAt(index) Same as at , but values for index greater than the size of the List will be clipped to the last index. y = List [ 1, 2, 3 ]; y.clipAt(13).postln; ...
-
... temSpec) and: {spec.itemSpec.isKindOf(ControlSpec)}},{ ^spec.map( this.unmap(v).clip(0.0,1.0) ) },{ ^v }) } color { ^Color.new255(125, 255, 205) } } + StaticSpec { color { ^Color.grey } } + NonControlSpec { color { ^Color.yellow(alpha:0.3) ...
-
... emSpec) and: {spec.itemSpec.isKindOf(ControlSpec)}}, { ^spec.map( this.unmap(v).clip(0.0, 1.0) ) }, { ^v }) } color { ^Color.new255(125, 255, 205) } } + StaticSpec { color { ^Color.grey } } + NonControlSpec { color { ^Color.yellow(alpha:0.3 ...
-
... w.bounds; } bounds_ {|bounds| view.bounds = bounds; } value_ {|val| value = val.clip(-1,1); case { val>0 } { view.setBackgroundImage(imageWhite, 10) } { val==0 } { view.setBackgroundImage(imageHole, 10) } { val<0 } { value = -1; view.setBac ...
-
... eom iota Inherited class methods Instance methods size maxSize isRectangular at clipAt wrapAt foldAt plot swap put clipPut wrapPut foldPut putEach indexOf includes indexOfGreaterThan removeAt takeAt takeThese add addAll extend fill insert b ...