-
... .angle - centerAngle; angle = angle.wrap(-pi, pi).unwrap(-pi,pi); angle = angle.linlin( *(fromRange * pi) ++ [-1,1, \none ] ); angle = angle * invert.linlin(0,1,1,-1,\none); angle = Select.kr( clipMode, [ angle.softclip2(1, clipSoftness ), ...
-
... me=0, mute=0, solo=1; (Ndef.ar('inTrack3', 1) * volume.dbamp.lag(lagTime) *mute.linlin(0,1,1,0).lag(0.1)*solo.lag(0.1) )}); Ndef('track3').set('volume', 0, 'lagTime', 0, 'mute', 0, 'solo', 1); Ndef.ar('filterTrack_3_1', 1); Ndef('filterTrac ...
-
... \freq ]; [ freq.explin( min, max, 0, bounds.width ), (eqSetting[ i, \db ] ? 0) .linlin(range.neg,range,bounds.height,0,\none); ].asPoint; } { nil; }; }); } makeView { |parent, bounds| if( bounds.isNil ) { bounds= 350 @ (this.class.viewNumLi ...
-
... \freq ]; [ freq.explin( min, max, 0, bounds.width ), (eqSetting[ i, \db ] ? 0) .linlin(range.neg,range,bounds.height,0,\none); ].asPoint; } { nil; }; }); } makeView { |parent, bounds| if( bounds.isNil ) { bounds= 350 @ (this.class.viewNumLi ...
-
... nt ) > 0 ); angle = angle.wrap(-pi, pi).unwrap(-pi,pi).lag3(lag); angle = angle.linlin( *(fromRange * pi) ++ [-1,1, \none ] ); angle = angle * invert.linlin(0,1,1,-1,\none); angle = Select.kr( clipMode, [ angle.softclip2(1, clipSoftness ), ...
-
... 5, 12, 0]), Pseq([5, 2, 3])), \finish, Pfunc{|ev| ~createObj.value(y: ev.degree.linlin(0, 15, 0.75, 0.25), vx: ev.dur.linlin(0.08, 0.5, 10, 1).rand2, dur: ev.dur.linlin(0.08, 0.5, 30, 50))}).play Pbind(\dur, 0.125, \amp, Pn(Pshuf([0.1, 0.1, ...
-
... 5, 12, 0]), Pseq([5, 2, 3])), \finish, Pfunc{|ev| ~createObj.value(y: ev.degree.linlin(0, 15, 0.75, 0.25), vx: ev.dur.linlin(0.08, 0.5, 10, 1).rand2, dur: ev.dur.linlin(0.08, 0.5, 30, 50))}).play Pbind(\dur, 0.125, \amp, Pn(Pshuf([0.1, 0.1, ...
-
... 8).if{ // master (right-most) q.ampeln.do{ |ampel| ampel.set( \masterAmp , val.linlin(0, 127, 0, 1)) } }; (chan < 8).if{ // red (left-most) [chan, val].postln; q.ampeln[q.blockChannels.findKeyForValue(chan)].set( \amp , val.linlin(0, 127, ...
-
... polating linCongC for wah-wah and more gliss kaos = LinCongN.ar(chaos**4, ampIn.linlin(0,1,0.9,1.9), 0.001 + Ndef.ar(\lincong)*fbQ, 1-local ).linlin(-1,1,0,2); src = SinOsc.ar(freq*[kaos/2, kaos, kaos/4, kaos*2, kaos/10], 0, kaos/2); local ...
-
... ion of the cursor getXMousePos { |mousePos, invert = false| mousePos = mousePos.linlin( super.interactionRect.left, super.interactionRect.right, 0, 1 ); if(invert) { mousePos = 1 - mousePos; }; ^mousePos } // Returns the relative Y position ...