-
... ject This is the object you pass to other gui objects to set their font name or size. Creation / Class Methods *new (name, size) name - An instance of String. Must coincide with the name of a font on the system. See * availableFonts size - ...
-
... Goertzel, DFT helper */ // the receiver is an array of frequencies freqKs { arg size, sampleRate; ^this.collect({ arg item; item.freqK(size, sampleRate) }) } // the receiver is an array of ks kFreqs { arg size, sampleRate; ^this.collect({ a ...
-
... .width.asInteger; Pen.moveTo( 0 @ history[pos].linlin(0,1,height,0) ); (history.size).do({ |item, i| Pen.lineTo( (i+1) @ history.wrapAt(pos+i).linlin(0,1,height,0) ); }); Pen.lineTo( history.size @ height ); Pen.lineTo( 0 @ height ); if( hi ...
-
... ss.notNil ) { tunings = \TuningInfo.asClass.tunings.select({ |item| item.tuning.size == ii }).keys.asArray.sort; } { tunings = Tuning.all.parent.select({ |item| item.tuning.size == ii }).keys.asArray.sort; }; scales = scales.sort; if( ii == ...
-
... x, durFrames; if(trackIdx.isNil or: { trackIdx < 0 } or: { trackIdx >= ~atsData.size }) { nil } { tr = ~atsData[trackIdx]; pts = tr[\points] ? []; live = List.new; pts.do { |pt, i| if(pt.notNil and: { (pt[2] ? 0.0).asFloat > 1e-12 }) { live ...
-
... oups.add( group ); this.changed( \start ); ^group; } free { |target| if( groups.size > 0 ) { groups.do(_.free); groups = []; this.changed( \end ); }; } addChild { |obj| children = children.add( obj ); this.changed( \addChild, obj ); } remov ...
-
... oups.add( group ); this.changed( \start ); ^group; } free { |target| if( groups.size > 0 ) { groups.do(_.free); groups = []; this.changed( \end ); }; } addChild { |obj| children = children.add( obj ); this.changed( \addChild, obj ); } remov ...
-
Instr([\deltaStream, \geomHesitate], { arg min = -4, size = 9, numEvents=0, slideLen=3, slideBy=2; Pslide( Array.geom(size, 2 ** min, 2), CXPatterns.inferCycleLength(numEvents), slideLen, slideBy ) }, [ StaticIntegerSpec(-9, 2), StaticInteg ...
-
... quencerMode != mode) { if (mode == "manual", { // Proxy list while({ proxySteps.size > 1 }, { proxySteps.pop; }); while({ proxyStepsMapped.size > 1 }, { proxyStepsMapped.pop; }); selectors do: { |selector| selector.visible_(true); }; // Poi ...
-
... oint(0, 0), Point(0.5, 1), Point(1, 0), ]; d.arrCurveTypes = 0 ! (d.arrPoints.size - 1); // default type = Sine d.arrCurveVals = 0 ! (d.arrPoints.size - 1); }; d.setLastPointToFirst = { d.arrPoints[d.arrPoints.size - 1].y = d.arrPo ...