-
... e sampler // synth stays open and retrigs the sample multiple times Spec.add(\rqenv, EnvSpec( Env.new([ 0.194444, 0.0810185, 0.0648148, 0.444444 ], [ 0.01, 0.111111, 0.0833333 ], [ -0.583333, 3.33333, 1.66667 ], nil, nil))); Spec.add(\envpe ...
-
... ndard Values out = 0, amp = 0.1, gate = 1, freq = 100, pan = 0, // Controls for env2 (the main one) hold = 0, att = 0.005, dec = 0.3, sus = 0.5, rel = 0.2, hpfEnvDepth = 80, lpfEnvDepth = 200, // Controls for env1 delay1 = 0.01, att1 = 0.5, ...
-
... array, width: sawWidth); snd = LPF.ar( in: snd, freq: filterfreq ); snd = snd * Env.asr( attackTime: att, //Use amp/5 to roughly match the amp of the original. sustainLevel: amp/5, releaseTime: rel, curve: \lin ).kr(gate: gate, doneAction: ...
-
... 1| RLPF.ar(\in.ar(0!2), ffreq, rq) }; // repatch ~osc <>> ~lpf <>> ~out; // amp envelope ~eg = { |gt = 1| \in.ar(0!2) * EnvGen.kr( Env.adsr(0.01, 0.1, 0.6, 0.1), gt ) }; ~lpf <>> ~eg <>> ~out; // now too quiet ~osc.set(\amp, 0.2); // run so ...
-
... -1 * i * decaycoef) + decayscale }); decarray = decarray/decarray[0]; exciter = Env.linen( attackTime: att, sustainTime: hold, releaseTime: dec, curve: crv).ar; snd = DynKlank.ar( specificationsArrayRef: Ref.new([freqarray, amparray, decarr ...
-
... lation , kitchen studies , PmonoPar , PpolyPar , DX suite , DXMix , DXMixIn , DXEnvFan , DXEnvFanOut , DXFan , DXFanOut , ZeroXBufRd , TZeroXBufRd , ZeroXBufWr PbindFx works like a normal Pbind of event type 'note' in most regards, but with ...
-
VGSamp : VGSound { classvar <>dir, <>laras=\slendro; classvar <bufenv, <win, <loaded = false; classvar <>defaultDef = \vgSampFix, <pathsDict; classvar <>defNames = #[\vgSampFix, \vgSampDyn]; classvar <>sampleFixFunc; *initClass { Class.init ...
-
... otDefault; default.plotd( data, ns, label ); } // Helper function to convert an envelope into a suitable array *envarray { |env| var times, step, slices; times = env.times; step = times.minItem; slices = Array.fill(times.sum/step, {|ind| en ...
-
... otDefault; default.plotd( data, ns, label ); } // Helper function to convert an envelope into a suitable array *envarray { |env| var times, step, slices; times = env.times; step = times.minItem; slices = Array.fill(times.sum/step, {|ind| en ...
-
... nths SynthDef ( \hat , { |out= 0, tuesday= 5000, amp= 0.5, pan= 0| var e, z; e= EnvGen .kr( Env .perc(0.01, 0.1), 1, amp, doneAction:2); z= BPF .ar( PinkNoise .ar, tuesday*(e+0.5)); Out .ar(out, Pan2 .ar(z*e, pan)); }).add; SynthDef ( \bas ...