-
... -4, -4]), doneAction:2); oscs1 = Mix.fill(n, {|i| SinOsc.ar( ( i.linlin(0, n-1, 42, 74) + rand2(4.0) ).midicps, SinOsc.ar( (i.linlin(0, n-1, 78, 80) + rand2(4.0) ).midicps, 0.0, 12), 1/n ) }); oscs1 = BH ...
-
... event. ( ~legato = 1; c = MIDIFunc.cc({ |value, num, chan, src| ~legato = value.linlin(0, 127, 0.1, 2.5) }, 1); // 1 means modwheel ) ( p = Pbind( \degree, Pwhite(-7, 12, inf), \dur, Pwrand([0.25, Pn(0.125, 2)], #[0.8, 0.2], inf), \legato, ...
-
... obstacPos[0]*meterInPixels)-radiusInPixels; top = ((obstacPos[1]*meterInPixels).linlin(0, height, width, 0)) - radiusInPixels; if (top > -4 and:{top < 396} and:{left > -4} and:{left<396}) { Pen.width = obstacle.penWidth; Pen.color = obstacl ...
-
... nders[i] = OSCresponder(net, cmd, { |time, resp, msg, addr| var val = msg[1].linlin(inmin, inmax, outmin, outmax).round; [type, chan, num, val].postln; midi.perform(type, chan, num, val); }).add; };
-
... ft, threshold, odftype, relaxtime, floor, mingap, medianspan ); onsets = onsets.linlin(0,1,*range); UMapOut.kr(onsets); }) .setSpec( \filter, \freq.asSpec.asRangeSpec ) .setSpec( \threshold, [0,1,\lin,0,0.5].asSpec ) .setSpec( \odftype, Lis ...
-
... , threshold, \rcomplex, relaxtime, floor, mingap, medianspan ); onsets = onsets.linlin(0,1,*range); UMapOut.kr(onsets); }) .setSpec( \filter, \freq.asSpec.asRangeSpec ) .setSpec( \threshold, [0,1,\lin,0,0.5].asSpec ) .setSpec( \odftype, Lis ...
-
... urdist, adparam, ddparam, freq[0], freq[1], ampscale, durscale, initCPs, knum ).linlin(-1,1,*range); UMapOut.kr( sig ) } ).category_( \modulation ) .mappedArgs_( [ \range ] ) .setSpec( \ampdist, ListSpec( (..5), 1, [ \LINEAR, \CAUCHY, \LOGI ...
-
... urdist, adparam, ddparam, freq[0], freq[1], ampscale, durscale, initCPs, knum ).linlin(-1,1,*range); UMapOut.kr( sig ) } ).category_( \modulation ) .mappedArgs_( [ \range ] ) .setSpec( \ampdist, ListSpec( (..5), 1, [ \LINEAR, \CAUCHY, \LOGI ...
-
... s[ \play ].value = 0 }; }) .put( \pos, { views[ \pos ].value = (object.pos ? 0).linlin( 0, object.object.dur, 0, 1 ); }); } makePlayView { views[ \play ] = SmoothButton( view, bounds.height @ bounds.height ) .radius_(2) .canFocus_( false ) ...
-
... rightBottom ); //.round( step ); } map { |value| ^this.constrain( value.asPoint.linlin(0, 1, rect.leftTop, rect.rightBottom, \none ) ); } unmap { |value| ^this.constrain( value.asPoint ).linlin( rect.leftTop, rect.rightBottom, 0, 1, \none ) ...