-
... bSend, bodyMix=0, distance=0.5, wet = 0.25| var noise, impact, shell, noiseEnv, impactEnv, shellEnv, shellNoiseMod, attack, triggerLag, ampMod, final, trigger, accent, masterEnv, sum, phased, body, impactLevel, driver; masterEnv ...
-
... click, clickAmp; var noise, noiseAmp; var snd; // noise -> resonance -> expodec envelope noiseAmp = EnvGen.ar(Env.perc(0.001, 0.3, curve: -8), doneAction: 2); noise = Mix(BPF.ar(ClipNoise.ar, [4010, 4151], [0.15, 0.56], [1.0, 0.6])) * 0.7 * ...
-
IDMish modified. It is inspirated from the work of xffff. by jeromelapuyadelahorgue (jerome.lapuyade.lahorgue) Code
... arg out=0,pan=0,amp=0.1; var time=1/4,trigtime=1,impulse,test,sound, freq, ampenv, filterenv, mod, snare, snaretrig, kick, kickenv, lin,sig, sig1, sig2, sig3; time=Demand.kr(Impulse.kr(1/time),0,Dseq(~time,inf)); impulse=Impulse.kr(1/ ...
-
... 4.do{a.next.postln}; ( s.waitForBoot{ SynthDef(\hh, {|amp= 1, rel= 0.05| var e= EnvGen.ar(Env.perc(0, rel, amp, -10), doneAction:2); var z= WhiteNoise.ar(e); z= BPF.ar(z, 5000, 0.4); Out.ar(0, Pan2.ar(z, 0, 1.5)); }).add; SynthDef(\bz, {|am ...
-
... s handled differently in the original examples above) ( a= { var dur= 0.25; var env= Decay2 .ar( Impulse .ar(1/dur), 0.01, 0.5); SinOsc .ar( LFPulse .kr(1/(8*dur), 0, 0.5, 400, 400)+ SinOsc .ar(1/(40*dur), 0, 10))*env; }.play ) a.free //--n ...
-
... SynthDef(\sStream, {|outBus= 0, synBus, atk= 0.1, rel= 1, on= 1, vol= 0| var onEnv= EnvGen.kr(Env.asr(atk, 1, rel), on); var syn= In.ar(synBus, 2)*0.2; var lv= VSTPlugin.ar(nil, 2, id:\lv); var av= VSTPlugin.ar(nil, 2, id:\av); Out.ar(outB ...
-
... 100, -100], -2, 1, 3].abs; Symbol \foo .abs; // returns itself. this is used in Envelopes see Env . Point Point (-1, 2).abs; Function f = abs({ |x| sin(x) }); f.value((0..1000).normalize(0, 8pi)).plot; UGen ( { var a = SyncSaw .ar(100, 440, ...
-
... an=0,out=0; var sig,freq2; freq=freq*rrand(1,1.01); freq2=freq*rrand(1,1.01); e=EnvGen.ar(Env.perc(attack,dur,curve:-4),doneAction:2); sig=SinOsc.ar([freq,freq2],0,amp*e); sig=Pan2.ar(sig,pan); Out.ar(out,sig) }, metadata: ( credit: "Your b ...
-
... dot' method. ( a = SynthDef.new("Example", { arg bus=0, freq=440; var e, o; e = EnvGen.kr(Env.perc, levelScale:0.3, doneAction:2); o = RLPF.ar(LFSaw.ar(freq) * e, LFNoise1.kr(1, 36, 110).midicps, 0.1); 4.do({o = AllpassN.ar(o, 0.05, [0.05.r ...
-
... p, panpos; // Add upwards sweep occasionally sweeptrig = Dust.kr(0.01); sweep = EnvGen.kr(Env.new([1,4,1], [3, 0.0001]), sweeptrig); trig = Dust.kr(pluckratefactor * (LFNoise2.kr(ExpRand(0.1, 0.4)).range(1, LFNoise2.kr(ExpRand(0.02, 0.08)). ...