-
... , analog in (8 or 10 bit), digital, twi, sht, ping var sizes = customSizes; var scales = Array.fill( customSizes.size, 1 ); analog = pinConfig.select{ |it| (it == \analogIn) or: (it == \analogIn10bit) }; analog.do{ |it| if ( it == \analogIn ...
-
XiiScale { var <degrees, <descDegrees, <stepsPerOctave, <tuning, <>name, lastIndex = 0, setStepsNextTuning = false; *new { | degrees, tuning, descDegrees | // can't use arg defaults because nils are passed in by doesNotUnderstand // nils in ...
-
... t. Notice the interpolation from 440 to the LFO over 3 seconds a.from(b, \freq, scale:[330, 550]) //Replace b from an LFO to a random ramp generator. Notice how now a's \freq parameter is getting //interpolated from the LFO to the newly set ...
-
... o{|x| penClass.lineTo(x*length)}; penClass.stroke; } makeWindow {|name, bounds, scale= 1, background, color, width= 1| var win, usr, w, h, centerX, centerY; name= name ?? {"fingerprint"+points.size+"points"}; bounds= bounds ?? {Rect(128, 64 ...
-
... a.from(Pseq([440, 660, [1000, 880]], inf), \freq, time:3) s.plotTree s.scope //scale a.from(b, \freq, time:5, scale:[[330, 220], [1000, 1200]]); //pattern support a.from(b, \freq, time:3, scale:Pseq([[[330, 220], [1000, 1200]], [[110, 120] ...
-
... note, velo].postln; } ).newWindow; allWindows = allWindows.add( out ); ^out; } *scale { var last = 0; ^blackKeysStructure.collect({ |item| var out; out = last + item + 1; last = out; out - 1; }); } *pressNote { |noteNumber = 64, velo = 64, ...
-
... , <>orientation=\horizontal,<>frameColor,<>drawFunc, <>thumbSize=7; var <>shift_scale = 100.0, <>ctrl_scale = 10.0, <>alt_scale = 0.1; *new { arg parent, bounds; ^super.new.init(parent, bounds); } init { |argParent, argBounds| argBounds=arg ...
-
VGScaleRetune { var <w; var <>laras, <>refKey, <>refKeyFreq, <>scaleKeys, <>refScaleIntervals, <>refScaleFreqs, <>intervalsBetweenScale, trips, compSCT, compSCTWidth, unit, boxwidth, newScaleFreqs, newScaleIntervals, newScaleIntervalsBS, ne ...
-
... ) ); }; } data_{ |indata| if ( indata.size == slots.size , { // data = indata * scale; // no scaling with strings data = indata; data.do{ |it,i| slots[i].value = it }; action.value( data, this ); this.setLastTime; ^true; }); ^false; } creat ...
-
... oudness analyser into the \freq input of the second oscillator b.from(c, \freq, scale:[0, 1, 10, 2000]); //Create feedback: patch b's output to a's \fm input, mapping -1 / 1 to -200 / 300 a.from(b, \fm, scale:[-200, 300], time:0.5); }); ) / ...