-
... nd source for testing ( Ndef(\sine, { var sig = SinOsc.ar(440); var env = Decay2.kr(Impulse.kr(0.5)); Splay.ar(sig) * env * 0.1; }) ) // display discovered keys Vst(\delay1).keys.do({arg k; k.postln;}); // load a vst by key o ...
-
... exp(-1 * i * decCoef) }); decarray = decarray/decarray[0]; // Drumstick stick = Decay2.ar( in: Impulse.ar(0), attackTime: att, decayTime: dec, mul: 0.005); // This keeps the volume at a sane level // Drum Head head = Klank.ar( specification ...
-
... t, decay; var trig = Impulse .ar(impulseFreq); var snd = SinOsc .ar(oscFreq, 0, Decay2 .ar(trig, 0.01, 0.2 * decay)); Out .ar(0, Pan2 .ar((tanh(snd * distort) / distort) * mul.lag(0.1), pan.lag(0.1))); }).memStore; ) ( var sDict = Dictionar ...
-
... env, out, rev, lfo; rate = MouseX.kr(1, 5, 1); clock = Impulse.kr(rate); env = Decay2.kr(clock, 0.002, 2.5); index = Stepper.kr(clock, 0, 0, 15, 1, 0); freq = BufRd.kr(1, 10, index, 1, 1); freq = Lag2.kr(freq) + [0, 0.3]; ffreq = MouseY.kr ...
-
... s mono and output stereo /* // EffectGUI is controllable from code: {Out.ar(20, Decay2.ar(Impulse.ar(0.5, 0.25), 0.01, 0.2, Saw.ar(222))!2)}.play {Out.ar(22, Decay2.ar(Impulse.ar(0.5, 0.25), 0.01, 0.2, Saw.ar(999))!2)}.play a = XiiDelay.new ...
-
... when a value changes CircleRamp - circular linear lag Decay - Exponential decay Decay2 - Exponential decay Delay1 - Single sample delay. Delay2 - Two sample delay. DetectSilence - Detect when input falls below an amplitude threshold FOS - F ...
-
... a/3e3,67-a)).tanh} /* by batuhan bozkurt */ play{LeakDC.ar(BRF.ar(Saw.ar(8,Decay2.kr(x=Duty.kr(1/8,0,Drand([0,Drand((0.4,0.5..1))],inf)),0.01,0.3))**1.5,x*20+[45.1,45],0.1)).tanh}//#sc /* by batuhan bozkurt */ play{t=Impulse.kr(1/ ...
-
... freq=440| // t_trig creates a TrigControl Out .ar(0, SinOsc .ar(freq+[0,1], 0, Decay2 .kr(t_trig, 0.005, 1.0))); }, [0, 4] // lag the freq by 4 seconds (the second arg), but not t_trig (won't work anyway) ); ) // This second version makes ...
-
... dif((waves[1] + [0, shift]).wrap(-1, 1)) < dens; trig = Trig.ar(trig, 0.0); u = Decay2.ar(trig, 0/maxfreq, 0.1/maxfreq); u = ToggleFF.ar(trig); sh = Latch.ar(waves, trig); // -1, 1 shf = ( 10 ** (sh.abs * sh2Filt.squared * sh2Filt.sign)); s ...
-
... inOsc .ar( Decay .ar( Dust .ar(4), 0.5, 1000, 400), 0, 0.2) }.scope(1, zoom:4); Decay2 triggered exponential attack and exponential decay arguments: trigger, attack time, decay time, mul, add { WhiteNoise .ar * Decay2 .ar( Impulse .ar(1), 0 ...