-
... iSlider { var thisSymbol = \circle; var thisSymbolRatio = 0.5; var thisSymbolMinSize = 24; var thisSymbolMaxSize = 128; var thisSlidersColors = nil; var symbolPosition = 0; var thisDisplayLine = \value; var thisDisplayValues = true; var thi ...
-
... uper.new.fmInit(carrier, modulator, depth, highInterval); } * fft { arg buffer, size, cutoff = -60, highInterval = 1902, action; /*@ desc: Create a curve based on the timbre of a given FFT buffer. THIS IS VERY SLOW and uses a lot of system ...
-
... moothSlider { var currentIndex; var <selected; draw { var startAngle, arcAngle, size, widthDiv2, aw; var knobPosition, n, realKnobSize; var rect, drawBounds, radius; var baseRect, knobWidth; var center, strOri; var bnds; // used with string ...
-
... match { |obj| // returns currently used preset, if any (otherwise nil) var i=0, size, preset; obj = obj ? object; size = presets.size-2; preset = getFunc.value( obj ); while { i <= size } { if( matchFunc.value( preset, presets[i+1] ) ) { ^p ...
-
... match { |obj| // returns currently used preset, if any (otherwise nil) var i=0, size, preset; obj = obj ? object; size = presets.size-2; preset = getFunc.value( obj ); while { i <= size } { if( matchFunc.value( preset, presets[i+1] ) ) { ^p ...
-
... on.value(elem, i); } }; ^sum } meanF { | function | ^this.sumF(function) / this.size } geoMean { // this.product ** (this.size.reciprocal); // fails for big arrays, ^2 ** this.mean({ |el| el.log2 }) // log2 method is slower but safer. } har ...
-
... ht].rand, RedVector2D[0, 0], RedVector2D[0, 0], 5, 5); //world,loc,vel,acc,mass,size ~objB= RedObject(world, RedVector2D[width, height].rand, RedVector2D[0, 0], RedVector2D[0, 0], 8, 8); //world,loc,vel,acc,mass,size //--loop w.draw{ var ba ...
-
... ht].rand, RedVector2D[0, 0], RedVector2D[0, 0], 5, 5); //world,loc,vel,acc,mass,size ~objB= RedObject(world, RedVector2D[width, height].rand, RedVector2D[0, 0], RedVector2D[0, 0], 8, 8); //world,loc,vel,acc,mass,size //--loop w.draw{ var ba ...
-
... n(argSourcePlug, argTargetPlug); isSourceMono = if(argSourcePlug.outConnections.size < 2, { true; }, { false; }); isTargetMono = if(argTargetPlug.inConnections.size < 2, { true; }, { false; }); sourceFreeOut = this.findStereoFreeSlot(argSou ...
-
... adeTime: 1); n.numChannels; //number of channels n.xset(\pan, Array.panDis(~arr.size, ~arr.size).scramble.postln); //evaluate several times a = SpecFile.read(\space, \pan); ~node1 = ModMap.map(n.ndefs[0], \pan, \sin, a, [\freq, 1]); ~node2 ...