-
... resetPos = (range[0] - step) + ((\u_startPos.ir(0.0) * ControlRate.ir) * step).wrap( 0, range[1] - range[0] ); phase = Phasor.kr( Impulse.kr(0), step, range[0], range[1], resetPos ); phase = (phase.floor * (1-smooth)) + (phase * smooth); s ...
-
... lue and used as an index into an octave repeating table of note values. Indices wrap around the table and shift octaves as they do. Class Methods DegreeToKey. ar ( bufnum , in: 0.0 , octave: 12.0 , mul: 1.0 , add: 0.0 ) DegreeToKey. kr ( bu ...
-
... amplitude of the modulator ( { SinOsc .ar(440, 0, 0.571) * ( SinOsc .kr(880) // wrap the modulator and the lfo in parenthese * // why ... ? SinOsc .kr([6.99, 8.01].reciprocal) ) }.scope ) //////////////////////////////////////////////////// ...
-
... x@y); point = [x,y]; Pen.stroke; }; win.refresh; }; //RGB values wrap through range 0≤x<2 //and are folded into 0≤x≤1 via mouseMove function //thus RGB values oscillate linearly, out of phase with //one another, back and f ...
-
... ep?) var <>curve = 1; // curve = 1: hermite var <clipMode = 'clip'; // 'clip', 'wrap', 'fold' // TODO for bspline var <>name; var <>savedCopy; *new { |positions, times, type, curve, clipMode| ^super.newCopyArgs( positions, times ) .init .ty ...
-
... resetPos = (range[0] - step) + ((\u_startPos.ir(0.0) * ControlRate.ir) * step).wrap( 0, range[1] - range[0] ); phase = Phasor.kr( Impulse.kr(0), step, range[0], range[1], resetPos ); phase = (phase.floor * (1-smooth)) + (phase * smooth); s ...
-
... resetPos = (range[0] - step) + ((\u_startPos.ir(0.0) * ControlRate.ir) * step).wrap( 0, range[1] - range[0] ); phase = Phasor.kr( Impulse.kr(0), step, range[0], range[1], resetPos ); phase = (phase.floor * (1-smooth)) + (phase * smooth); s ...
-
... th, orientation) ++ [ up ]; } } // 1 top and 1 bottom speaker, // positions azi wraps, elev clips. PanRingTopBot : MultiOutUGen { *ar {|numChans=4, in, azi=0.0, elev=0.0, width = 2, orientation=0.5| ^[numChans, in, azi, elev, width, orienta ...
-
... will be used: 1.0 uses tunings[0], 1.01 uses tunings[1] and so on. Indexing is wrapped (wrapAt); if the index goes beyond the size of the array, one of the array elements will be used regardless. The tuning object is addressed with the "va ...
-
... will be used: 1.0 uses tunings[0], 1.01 uses tunings[1] and so on. Indexing is wrapped (wrapAt); if the index goes beyond the size of the array, one of the array elements will be used regardless. The tuning object is addressed with the "va ...