-
... ; b.getn(0, 255, { |a| a.postln }); c = { |inpos=0.0| Shaper.kr(b.bufnum, inpos.wrap(0, 2)).poll; }.play; c.set(\inpos, -1); c.set(\inpos, -0.99); c.set(\inpos, -0.6); c.set(\inpos, -0.2); c.set(\inpos, 0.2); c.set(\inpos, 0.6); c.set(\inpo ...
-
... he Pkey values will be out of sync (delayed by one event). The workaround is to wrap a Pbind inside PcollectFinal. See the examples. If the source pattern refers to the current clock time, this will be out of sync. If the source pattern gen ...
-
... y to the original scrambled order: p = o.order; x = y[p]; ⧉ ✔ Bubbling bubbling wraps an item in an array of one element. it takes the depth and levels as arguments. z = Array.iota(4,4); z.bubble; z.bubble(1); z.bubble(2); z.bubble(0,2); z. ...
-
... in input signal to pan azi azimuth, angle in the horizontal ring; from 0 to 2, wraps around. elev height above the horizon, toward top speaker; 0 is ring, 1 is top. orientation direction of azimuth 0: orientation 0 means azi 0 is on chan0, ...
-
... ], u_startPos = 0| var circle; u_startPos = (u_startPos * DC.kr( speed ) * 2pi).wrap(0,2pi); circle = SinOsc.kr( speed * clockwise.linlin(0,1,-1,1), [ 0, 0.5pi ] + startAngle + u_startPos, radius, center ); UMapOut.kr( circle, false ); }) . ...
-
... al is within a given range. Source: Trig.sc Subclasses: Clip , Fold , Schmidt , Wrap See also: InRect , Schmidt Description If lo ≤ in ≤ hi , output 1.0, otherwise output 0.0. Class Methods InRange. ar ( in , lo: 0.0 , hi: 1.0 ) InRange. kr ...
-
... ; // to distinguish subarrays from arrays to be taken as output use Refs, // as wrapping in another array wouldn't do ( p = Pbind ( \midinote , PlaceAll ([[60, 61], 70, [80, `[81, 81.5], 82]], inf ), \dur , 0.2 ); x = p.play; ) x.stop; // I ...
-
... eNr = this.notesDict[this.getNote]; diff = (inNoteNr - this.notesDict[toName];).wrap(-5, 6); octave = this.getOctave; case { (diff.neg + inNoteNr) > 11 } {octave = octave + 1} { (diff.neg + inNoteNr) < 0 } {octave = octave - 1}; newAlt = th ...
-
s.quit s.boot // Compare various simple nonlinear functions (clip, wrap..) and // their oversampled versions. // Sweep the input sinewave with the mouse and listen for the aliasing { Clipper4.ar(SinOsc.ar(MouseX.kr(200, 5000), 0, 2), -0.2, ...
-
... urned directly into the event. To accomplish this, every such pattern should be wrapped in a Ref : Pseq([`Pwhite(0, 9, 5), `Pwhite(10, 19, 5)], 1).asStream.all; ⧉ ✔ Hint: Pfunc is another good way to wrap patterns, because it simply returns ...