-
... ctive!! var mean = [red, green, blue].mean; red = green = blue = mean; ^this; } clip { |min=0, max=1| // destructive red = red.max(min).min(max); green = green.max(min).min(max); blue = blue.max(min).min(max); ^this; } // -> remove for 3.3 ...
-
... 45, 245, 220)); 3.do{|i| var lastIndex= 0; var y= (data[0][i]/verticalScale[0]).clip(-1, 1)*img.height*0.5; Pen.strokeColor= colors[i]; Pen.moveTo(Point(img.width, y)); img.width.do{|x| var xyz; var index= (x*step).round.asInteger; if(index ...
-
... (inFeedbackBusMix); //inMix = inMix.linlin(-1, 1, -1, 1) + mix; //inMix = inMix.clip(0, 1); inMix = inMix + mix; sigOut = FreeVerb.ar(sigIn, mix: inMix, room: 1); // Ajustar valores... // sigOut = sigIn + inMix; // poner aquí la reverb (aho ...
-
... CImage. They will be displayed at original size, centered in the button and not clipped. o = Image .open( String .scDir ++ "/SuperCollider.app/Contents/Resources/SCcube.icns" ); p = SmoothButton (w, 250 @ 150 ).states_( [ [o] ] ); Functions ...
-
... index].abs * thisModSteps[index]); }; }; }; newValues[index] = newValues[index].clip(thisMin[index], thisMax[index]); } { // Bipolar scale if(thisModStepsOperators[index] == \mul) { reference = thisModValuesReferences[index]; // Arbitrary p ...
-
... min, max ); // get magResponses values = eqSetting.magResponses( 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 = ...
-
... decay; var lpassFq; // particle use var randTrigMaxSecs = (randTrigMaxMs*0.001).clip(0,10); var delTrigSecs = TRand.kr( 0, randTrigMaxSecs, t_trig); var t_trigDel = TDelay.kr(t_trig, delTrigSecs); var dnote = [0,0,0]; dnote = DelayN.kr(note ...
-
... m to generate the rhythm // it is not required - it's up to you to organize the clips as you see fit segments: ( kick: [0, 2, 5, 7, 8], snare: [3], hat: [1, 4, 6], crash: [9] ), amps: 0, ampbase: (0 ! 16).put(0, 1), startbase: 0 ! 16, usedK ...
-
... m to generate the rhythm // it is not required - it's up to you to organize the clips as you see fit segments: ( kick: [0, 2, 5, 7, 8], snare: [3], hat: [1, 4, 6], crash: [9] ), amps: 0, ampbase: (0 ! 16).put(0, 1), startbase: 0 ! 16, usedK ...
-
... unit.get(\a)/440); if( outSpec.isKindOf( FreqSpec ) ) { unit.set( \value, value.clip( outSpec.minval, outSpec.maxval ) ); } { unit.mapSet( \value, \freq.asSpec.unmap(value) ); }; }; MIDIFunc.noteOn({ |velo, value, chan, src| var range, endP ...