-
... "afinar" el comportamiento de cada dial o perilla. convertLevel {|level| ^level.linlin(0, 10, 0, settings[\ringLevelMax]); } // Setters de los parámetros /////////////////////////////////////////////////////////////////////// setLevel {|lev ...
-
... file position in seconds: centerPosInSeconds = { [ centerPosSlider.lo.linlin(0, 1, 0, soundFile.duration), centerPosSlider.hi.linlin(0, 1, 0, soundFile.duration) ] // returns an array [lo, hi] }; Window.closeAll; Bu ...
-
... clipSoftness), sig.softfold2(1, clipSoftness), sig.wrap2(1), sig ]); sig = sig.linlin(-1,1,*range ++ [ \none ]); UMapOut.kr(sig); }) .mappedArgs_([ \range ]) .setSpec( \id, SharedValueIDSpec( 0 ) ) .setSpec( \clipMode, ListSpec( (..3), 0, ...
-
... e * [-1,1]).sum > 0, [ // prevent nan Select.kr( sig > range[0], [ 0,1 ] ), sig.linlin(*range ++ [0,1,\none]) ]); } ); if( type === \range ) { USharedValueOut.kr( [ \lo_id, \hi_id ], sig, [0,1] ); } { USharedValueOut.kr( \id, sig ); }; }, a ...
-
... clipSoftness), sig.softfold2(1, clipSoftness), sig.wrap2(1), sig ]); sig = sig.linlin(-1,1,*range ++ [ \none ]); UMapOut.kr(sig); }) .mappedArgs_([ \range ]) .setSpec( \id, SharedValueIDSpec( 0 ) ) .setSpec( \clipMode, ListSpec( (..3), 0, ...
-
... .size, height); peaks.do({ |prms,xx| prms.do({ |yy, ii| var size; size = yy.abs.linlin(0,1,0,height-1).asInteger; size.do({ |i| image.setColor( color.alpha_(ii*0.5+0.5), xx, 99-i ); }); }) }); if( write ) { this.write( path ); }; }); } penF ...
-
... j]; ~velocityFunc.(note.vel, thisThread.seconds - note.time, ~clock.beats).linlin(0, 127, -24, 0); }, \dur, Pfunc { var base = ~rate * 4 * (1 + ~jitter.rand2); var ret = if (~i == 0) { base * (1 + ~swing) } { base * (1 ...
-
... freqs ).ampdb.clip(-200,200); // sum and scale magResponses svals = values.sum.linlin(range.neg,range, bounds.height, 0, \none); // draw summed magResponse Pen.strokeColor = Color.blue(1.0).alpha_(0.5); Pen.fillColor = hiliteColor ? Color. ...
-
... var obj = q.roli.proxy.objects[chan]; if (obj.notNil) { obj.set(\bend, bendval.linlin(0, 16383, -12, 12)) }; }; /* /// test the functions by hand q.makeNote(0, 72, 64); q.endNote(0); q.makeNote(0, 72, 64); q.setTouch(0, 96); q.setBend(0, 8 ...
-
... = EnvGen.kr(envEnv,gate,doneAction:2); lfo = LFTri.kr(lfo_speed); lfo = LinLin.ar(lfo, 0, 1, lfo_amp.neg.midiratio , lfo_amp.midiratio); pitch = note.midicps/4; ctls = [ [2 * 1 * (pitch + ((11-7)/32))* lfo, 0 ...