-
... <c1, <c2; init { times = times ?? {[1]}; c1 = Order(); // user defined control points are stored here c2 = Order(); } controls { var autoControls; if( (c1.size < positions.size) or: { c2.size < positions.size } ) { autoControls = this.gene ...
-
... margin).init } // a rect encompassing grid a and grid b // specify the grids as points eg. 0@0 or 12@2 calc { |pointA,pointB| // 0@0, 1@1 var ra,rb; ra = this.getRect(pointA.x,pointA.y); rb = this.getRect(pointB.x,pointB.y); ^ra.union(rb) } ...
-
... trolSpec(-48,48,\linear,1,0) ],\audio); // has one long ffreq env // what's the point of that one ? Instr([\minimoog,\detune],{ arg freq=440,detune = -4,ffreqInterval=0,rq=0.4,freqEnvSpeed=1.0; var p; var f,g,h,c,env; c=LFNoise1.kr(0.1,0.45 ...
-
... lue; GUI.pen.stroke; } clipPath { this.asPenFunction.value; GUI.pen.clip; } } + Point { asSVGPathSegment { |type ... extra| ^SVGPathSegment( type ? \LineTo, *( extra ++ [ x, y ]) ); } } + DOMElement { asPenFunction { ^nil } }
-
... er values within a group of 4 (e.g. find a closest repetition within the last 5 points). In general lookback and deviations can be dynamic, the source doesn't need to be rounded and the comparison threshold for the repetition check can also ...
-
... /////////////////////////////////////////////////////////////// ( var buildTrackPoints, buildBandEnergy, mkColor; // Helper: Z354Sound-Partial -> Dorota track-points Array // Format pro Punkt: [t, f, normAmp, phase] buildTrackPoints = { |at ...
-
... ne, createDrone; var usrPadding= Size(25, 20); var ampTargets= {|i| ( position: Point(0, defaultAmplitudes.wrapAt(i)), //coordinates amplitude: defaultAmplitudes.wrapAt(i).linlin(*[defaultAmpRange, 0, 1].flat) ) }!maxNumVoices; var ampSelec ...
-
... are two ways to connect to the flatcat: 1. The flatcat has its own WiFi access point called flatcat00, where 00 is replaced by the flatcat serial number, 22 in my case. You can log into that local network, and run the code below 2. For mor ...
-
... x, list, randOffset, n; if( order > 1) { obj = data.at(prevIndex); // last data point list = lookUp.keyAt(obj.asSymbol); // where is this point in the lookUp? if(list.isNil) { ^prevIndex + 1 }; //nil: take next item n = list.size; if(maxSea ...
-
... ) .canUseUMapFunc_({ |unit, key, umapdef| unit.isKindOf( UPattern ).not && { [ Point, SimpleNumber, Array ].any({ |class| unit.getDefault( key ).isKindOf( class ) }) && { UAdaptSpec().canAdapt( unit.getSpec( key ) ) } }; }) .mappedArgs_([ ...