-
... lor = boidcolour[i]; QPen.use{ QPen.fillOval( Rect(theseboids[i][0].linlin(0,1,0,400), theseboids[i][1].linlin(0,1,0,400), theseboids[i][2].linlin(0,maxvel/2,10,100), theseboids[i][3].linlin(0,maxvel/2,10,100)) ...
-
... * Line.kr(0,1,0.1); output = \convrev; (output*mix.max(0).min(1)) + (input*mix.linlin(0,1,1,0)); } ], [ 'gdy1', {arg mix=0 -> [0,1], maxMul=1 -> [1, 8], ampdist=2 -> [0, 6, {|val| val.round(1)}], durDist=3 -> [0.0001, 8, \exp], adParam=1 - ...
-
... Pen.use({ Color.black.alpha_(linesAlpha).set; hLinesAt.do({ |item| item = item.linlin(minVal, maxVal, rect.bottom, rect.top, \none ); Pen.line( rect.left@item, rect.right@item ).stroke; }); vLinesAt.do({ |item| item = item.linlin(0, maxArr ...
-
... d - (threshold / ratio); // Map threshold to coordinates thresholdX = threshold.linlin(minThreshold, 0, 0, width); // Calculate output level at threshold thresholdY = if (threshold < threshold, { threshold.linlin(minThreshold, 0, height, 0) ...
-
... 5pi).neg.fold(-0.5pi,0.5pi) / 0.75pi ); amplitudes = amplitudes.max( globalDist.linlin(0.5,1,1,0).clip(0,1) ); in * amplitudes; }, \binaural: { |in, point, elevation| var distances, globalDist, delays, angles, ambis; globalDist = (0@0).dist ...
-
... ; me = this * div; ^( me.clip2( aNumber-range ) + ( me.excess( aNumber-range ) .linlin( range.neg, range, -0.5pi, 0.5pi ) .sin * 0.64028001980323 * range ) ) / div; } { ^this.clip2( aNumber ); }; } softexcess2 { |aNumber = 0.1, range, steep ...
-
... ; me = this * div; ^( me.clip2( aNumber-range ) + ( me.excess( aNumber-range ) .linlin( range.neg, range, -0.5pi, 0.5pi ) .sin * 0.64028001980323 * range ) ) / div; } { ^this.clip2( aNumber ); }; } softexcess2 { |aNumber = 0.1, range, steep ...
-
... [note] = Synth("addsynth", [ \freq, ~fundamental * partial, \amp, vel.linlin(0, 127, 0, 0.5), \att, ~att, \dec, ~dec, \sus, ~sus, \rel, ~rel; ])}, noteNum: (30..127), // Ignore notes lower than 24 (= 46Hz ...
-
... nTrack1', 1)*SinOsc.ar(freq.lag(lagTime),0,sinamp); adjVol.dbamp * ((signal*mix.linlin(0,1,0,1))+(Ndef.ar('inTrack1', 1)*mix.linlin(0,1,1,0)));}); Ndef('track1', {arg volume=0, lagTime=0, mute=0, solo=1; (Ndef.ar('filterTrack_1_1', 1) * vol ...
-
... ParameterOSC( string: "/osc/" ++ num ++ "/pulse/" ++ "level", value: knob.value.linlin(0,1,0,10), addrForbidden: \GUI, ) }; pulseShape.action = {|knob| synthiGME.setParameterOSC( string: "/osc/" ++ num ++ "/pulse/" ++ "shape", value: knob.v ...