-
... iew.bounds.leftTop.dist(surfaceView.bounds.rightBottom).asInteger; senseCurve = Env([0, 0.05, 0.1, 0.9, 1], [3, 0.5, 0.85, 0.15], [0, 0, 0, -4]).asSignal(senseDistance).asArray.reverse; nPresetText = TextField(window, Rect(10, 10, 100, 20)) ...
-
... f(\help_SPE1, { arg i_out=0, freq; var out; out = RLPF.ar( LFSaw.ar( freq, mul: EnvGen.kr( Env.perc, levelScale: 0.3, doneAction: Done.freeSelf )), LFNoise1.kr(1, 36, 110).midicps, 0.1 ); // out = [out, DelayN.ar(out, 0.04, 0.04) ]; 4.do({ ...
-
... an = 0, rel = 0.25, lowPassRatio = 16| var snd = Saw.ar(freq, amp); snd = snd * EnvGen.kr( Env.perc(0.01, rel), doneAction: Done.freeSelf ); snd = LPF.ar(snd, freq * lowPassRatio); snd = Pan2.ar(snd, pan); Out.ar(0, snd); }).add; beatWidget ...
-
... midikeyboardsine , { arg freq, amp = 0.25; Out .ar(0, ( SinOsc .ar(freq,0,amp)* EnvGen .ar( Env .perc, doneAction:2)).dup) }).add; k = MIDIKeyboard .new; k.keyDownAction_({ arg note; Synth ( \midikeyboardsine , [ \freq , note.midicps])}); k ...
-
... on[1]!=0).if( {{PlayBuf.ar(sfBuf.numChannels, sfBuf,1,1,sfSelection[0])* EnvGen.ar( Env.new([0,1,1,0],[0.001,0.998,0.001]*sfSelection[1]/sfSampleRate), doneAction:2)}!2 }.play, {"Select a region in the Sound file View ...
-
... n" , { arg freq = 440, mul = 1, dur = 1; Out .ar( 0, SinOsc .ar(freq, 0, mul) * EnvGen .kr( Env .perc(0.01, 0.99), doneAction: 2, timeScale: dur) ) }).load(s); ) ( // plot grains, x = time, y = freq, grainAmplitude = alpha color of ovals // ...
-
... generic timed-sequence generator Proto({ ~bpKey = nil; // supply to 'use' this environment while inside the pattern ~args = nil; // override with an array ~parm = \value; ~isMain = false; ~addRestToEmpty = true; ~protoID = \clGen; ~isClGen ...
-
... .quadCurveTo to Pen.curveTo . Breaking change: The convenience instance methods Env:kr and Env:ar had the arguments mul and add renamed to levelScale and levelBias , since they don't behave like typical mul and add arguments. Collection:pro ...
-
... in( value ).asString; }.defer; if( active ) { view[ \string ].doAction }; } } + EnvirSpec { makeView { |parent, bounds, label, action, resize| var vws, view, labelWidth; var ctrl, strWidth; vws = (); // this is basically an EZButton bounds. ...
-
... kr(grainFreq); Out .ar( 0, SinOsc .ar( LFNoise0 .kr(4, freqDev, centerFreq), 0, EnvGen .kr( Env.sine(0.1) , gate, 0.1) ) ) }).load(s); SynthDef ( "aDelay" , { arg delay = 0.25; Out .ar( 1, DelayN .ar( In .ar(0, 1), delay, delay ) ) }).load( ...