-
... ho)*EnvGen.ar(Env.asr(0,1,0.1),gate,doneAction:2); Out.ar(out, Pan2.ar(son * 1, LinLin.kr(freq,36.midicps,90.midicps,-0.75,0.75))); }).add; SynthDef(\piano_soundboard,{ var audio = In.ar([20, 21], 2); audio = OteySoundBoard.ar(audio); Out.a ...
-
... ore fun ( p = Ppar(Array.fill(5, { |i| Pbind( \dur, 0.25, \legato, 0.6, \pan, i.linlin(0, 4, -0.7, 0.7) ) <> Pvelvet( Pbind(\degree, Pwhite(-2, 2, inf) + (i*5 - 7)), Pwhite(5, 9, inf), (degree: \rest) ) })).play; ) p.stop; ⧉ ✔ helpfile sour ...
-
... = {|i| var x= i%b.width; var y= i.div(b.width); b.palette[(sin(x/17)*cos(y/48)).linlin(-1, 1, 0, 15).round.asInteger]; }.dup(b.width*b.height); b.plot; ) b.write("~/Desktop/testredbmp4.bmp"); //save it to desktop b= RedBMP.read("~/Desktop/t ...
-
... h more than one argument) to a pattern. Examples of n-ary operators are: blend, linlin, linexp, explin, expexp, clip, fold, wrap. Class Methods Pnaryop. new ( operator , a , arglist ) Arguments: operator operator to be applied a a pattern ( ...
-
... x.linexp(0, 1, lFreq, lFreq * (2**(numOctaves-1)) ); var mul = VarLag.kr(force.linlin(0, 2, 0, 2), 0.1); var fb = y.linlin(0, 1, 0, 2); fSpread = y * 0.1 * [1, -0.5, 0.5, -1]; // fSpread = 0; amp = Env.adsr(0.01, 0.3, 0.8, 2, 1).kr(2, gate ...
-
... der = Slider() .orientation_(\horizontal) .maxHeight_(64) .value_( valueDefault.linlin(valueMin, valueMax, 0, 1) ); var textField = TextField() .string_(valueDefault.asString) .align_(\center); // The centralizing function: var updateValue ...
-
... event. ( ~legato = 1; c = MIDIFunc.cc({ |value, num, chan, src| ~legato = value.linlin(0, 127, 0.1, 2.5) }, 1); // 1 means modwheel ) ( p = Pbind( \degree, Pwhite(-7, 12, inf), \dur, Pwrand([0.25, Pn(0.125, 2)], #[0.8, 0.2], inf), \legato, ...
-
... 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 ...
-
... 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 ...
-
... '/1/fader1': OSCMapperFader( altName: \fader1, defaultValue: 0.5, transformer: linlin(_, 0.0, 1.0, 0.5, 10.0), callback: {|v| ["received a value", v].postln;}, lag: 0.5, ), '/1/xy1': OSCMapperXY( altName: \touchPanel ), )); ) ⧉ ✔ By provid ...