-
... tes an UMap that routes an input value through a ringing filter with attack and decay and adds the result to the original value. This causes oscillations to happen at value changes. value: the value upon which the lag is applied (this can b ...
-
... erating //--Bounce EaseInBounce (a) easing equation for a bounce (exponentially decaying parabolic bounce) ease-in, accelerating from zero velocity. the \a parameter controls overshoot, the default producing a 10% overshoot EaseOutBounce (a ...
-
... ll-off"; ~channelLayout = \mono; ~function = { | frequency = 200, attack = 0.1, decay = 0.1, sustain = 1.0, release = 1, amplitude = 1.0, cutoff_freq = 100.0, gate = 1 | var snd, env, envGen; snd = LPF.ar(FSinOsc.ar(frequency), cutoff_freq) ...
-
... ll-off"; ~channelLayout = \mono; ~function = { | frequency = 200, attack = 0.1, decay = 0.1, sustain = 1.0, release = 1, amplitude = 1.0, cutoff_freq = 100.0, gate = 1 | var snd, env, envGen; snd = LPF.ar(Saw.ar(frequency), cutoff_freq); en ...
-
... Scale2 { *ar {|in, lo= 0, hi= 1, adaptLo= 0.4, adaptHi= 0.6| var min, max; min= Decay.kr(RunningMin.ar(in, reset); max= Decay.kr(RunningMax.ar(in, reset); ^LinLin.ar(in-min/(max-min).max(0.0001), 0, 1, lo, hi); } *kr {|in, lo= 0, hi= 1, res ...
-
... hresonance "0.05" // example: trigger and route an Ndef from tidal ( Ndef(\x, { Decay.kr(\trig.tr(0), 0.1) * PinkNoise.ar }); ~dirt.soundLibrary.addSynth(\myNdef, (playInside: { |e| Ndef(\x).set(\trig, 1); // trigger the \trig control Ndef( ...
-
... nnelLayout = \mono; ~function = { arg outbus, t_trig = 0, note = #[60, 1, 0.5], decay = 0.3, lag = 0.01, i_doneAction = 0 ; var freq = note[0].midicps; var amp = note[1]; var pos = note[2] * 0.5; // unitVal * positionRange var sig, input, f ...
-
... \riseComb5 , \filterIn -> { arg in, delay = 0.023, dlDrift = 0.02, spread=0.5, decayRise=0.5, decayFall=100; var delayscales = 2 ** ((0 .. q.numChans - 1) * 2 / (q.numChans - 1) - 1 * spread); var dels = delayscales.scramble.collect { |dsc ...
-
Instr([\modulation,\phaser],{ arg audio=0.0,depth=1.0,decay=0.5,lfo=0.5,min=440,max=1600; var phased,xine; var dmin,dmax; phased = audio; dmin = min / (44100 / 2.0); dmax = max / (44100 / 2.0); xine = SinOsc.kr(lfo,0.0,dmax - dmin, dmin); 6 ...
-
... Pitch_rate = 10, envAndPitch_thresh = 0.02, envAndPitch_median = 7, envAndPitch_decay = 0.92| var env, freq, hasFreq, trig; env = EnvFollow.kr(in, envAndPitch_decay); # freq, hasFreq = Pitch.kr(in, ampThreshold: envAndPitch_thresh, median: ...