-
... ); list = Array.series(size, 1, 1); arr2 = list/ (size+1) * 2 - 1; final = arr2.linlin(arr1.first, arr1.last, -1, 1).round(0.0000001); ^final; } funcSpec {var func, spec, specFunc; if( this.collect({|item| item.isFunction }).includes(true), ...
-
... s: 1, bufnum: buffer, rate: rate, startPos: startPos.linlin(0, 1, 0, BufFrames.kr(buffer)) ); snd = snd * env; snd = BPF.ar(snd, ffreq, rq); snd = CombC.ar(snd, maxdelaytime: 2, delaytime: delay, dec ...
-
... ccNumber>5), { // do this for regular sliders (not knobs) sliderValue = ccValue.linlin(0, 127, 0, 1); sliderArray[ccNumber].valueAction = sliderValue; }, { // ...and for the two knobs: // weird scaling. Ignore knob-bottom numbers (51-77) to ...
-
... collect switchTo inject selfSwitch '><*> when if Utilities expexp explin linexp linlin lincurve curvelin nexp nlin storePrevious mapWith Event Network - Monadic interface reactimate debug Event Network - Imperative interface enOut enDebug N ...
-
... s: 1, bufnum: buffer, rate: rate, startPos: startPos.linlin(0, 1, 0, BufFrames.kr(buffer)) ); snd = snd * env; snd = Pan2.ar(snd, panning); Out.ar(0, snd); }).add; SynthDef("stereosampler", {a ...
-
... ask({ var lastRawVal; nSteps.do({ |ii| var val, rawVal; interval.wait; val = ii.linlin(0, nSteps-1, 0,0.5pi).sin.linlin(0,1, startVal, value ); rawVal = (val * 127).asInteger * 128; if( lastRawVal != rawVal ) // only update if actually chan ...
-
... e)) }); //slider 1 k.elAt(\sl, 1).action_({ |elem| x !? _.set(\freq, elem.value.linlin(0.0, 1.0, 50, 2000) ) }); //knob 1 -> number of harmonics k.elAt(\kn, 1).action_({ |elem| x !? _.set(\numHarmonics, elem.value.linexp(0.0, 1.0, 1, 50) ) ...
-
... In.ar(inputBusControl) + InFeedback.ar(inFeedbackBusControl); control = control.linlin(-1, 1, 300, -300); control = (rate + control).clip(1, 1000); sig = Slew.ar(sig, control, control); Out.ar(outputBusVol, sig); },[nil, nil, nil, nil, nil, ...
-
... ble nodes holdStore injectFSigStore injectFStore Utilities expexp explin linexp linlin lincurve curvelin nexp nlin storePrevious selectSome paged mapWith onlyChanges Event Network - Monadic interface reactimate debug Event Network - Imperat ...
-
... , SinOsc.ar(100) * 20) + Line.ar(0, 1, 0.01)).dual }.plot // mappings Dual(0.5).linlin(0, 0.3, 0, 1) Dual(0.5).linexp(0.01, 1, 0.01, 1) expexp(-0.7942271232605, 0.2, 0.8, 0.1, 2.3) expexp(-0.7942271232605.asDual, 0.2, 0.8, 0.1, 2.3) curveli ...