-
SplineGen { var <>spline,<>dimension,<>loop; *new { arg spline,dimension=0,loop=false; ^super.newCopyArgs(spline,dimension,loop) } storeArgs { ^[spline,dimension,loop] } duration { // or total loop time ^spline.points.last[dimension] } asLo ...
-
... ints; Pen.color = Color.blue(0.5,0.25); Pen.moveTo( points.first ); points[..3].reverse.do({ |item| Pen.lineTo( item ); }); Pen.fill; Pen.color = Color.blue(0.5,0.75); points.do({ |item| Pen.moveTo( item ); Pen.addArc( item, 3 * scale, 0, 2 ...
-
... i , \p , 1) // if Integers are regarded as points, they must be ascending ... a.reverse.toSieve // ... but intervals can be descending ... a.reverse.toSieve( \i ) // ... however they must be positive (a.reverse ++ -1).toSieve( \i ) // It's ...
-
... h is an intrinsic convention of Tait-Bryan rotations) // needs to be applied in reverse order: roll (tilt), pitch (tumble), yaw (rotate) rotatedDirs = initialDirs.collect({ |sph| sph.tilt(roll).tumble(pitch).rotate(yaw) }); initializedPlane ...
-
... 2 - 1; }; // remove supply voltage status values? ~bipolars = ~bipolars.drop(3).reverse; // crude, but works as first pass: // absolute-set 12 (or 15) first influx inputs from flatcat NTMI.inphlux.set(*~bipolars.collect { |num, i| [ NTMI.in ...
-
... . // The example also establishes a cross-feedback of the two channels by using reverse. s.scope // start fb fx Synth ( ~bus = Bus .audio(s, 2); y = { var inSig = In .ar( ~bus , 2); var lfo = LFDNoise3 .ar(1).linexp(-1, 1, 0.2, 10); LPF .ar ...
-
... = IdentityDictionary.new; keyToDeg.keysValuesDo({ |k, v| degToKey.put(v, k); // reverse lookup }); // cpsFunc_ provides a default this.cpsFunc = cpsFunc; } // note: using object.mapMode(mode) directly is slightly faster map { arg key; ^key. ...
-
... wavesets.maximumAmp(~start, ~num) }; } finalizeEvent { var averagePlaybackRate, reverse; currentEnvironment.useWithoutParents { if(~numFrames <= 0) { ~type = \rest; ~dur = restDur; } { ~rate = ~rate ? 1.0; if(~rate2.notNil) { averagePlaybac ...
-
... 35, 37, 39 ] -- 37 - 35 = 2, indicating a third - this is a triad unmap(degree) Reverses the mapping: takes a modal degree as input and outputs the corresponding note index (ready to be converted to Hz for play). The same object types are a ...
-
... 35, 37, 39 ] -- 37 - 35 = 2, indicating a third - this is a triad unmap(degree) Reverses the mapping: takes a modal degree as input and outputs the corresponding note index (ready to be converted to Hz for play). The same object types are a ...