-
Avant Garde - Assignment 4: Algorithmic Harp (Pluck) [musc-9-pluck] by jonathan-coon (Jonathan Coon) Code
... n(0, decay, 0), doneAction: 2); snd = Pluck.ar( in: WhiteNoise.ar(amp), trig: Impulse.kr(0), maxdelaytime: 0.1, delaytime: freq.reciprocal, decaytime: decay, coef: coef); Out.ar(0, [snd, snd]); }).add; ) // ------ ...
-
... .5, decay, 0).kr(doneAction: 2); snd = Pluck.ar( in: WhiteNoise.ar(amp), trig: Impulse.kr(0), maxdelaytime: 0.1, delaytime: (freq*2).reciprocal, decaytime: decay, coef: dampen); snd = snd * env; Out.ar(0, [snd, snd]); ...
-
... 2], lowcut= 20->[20,2000,\exp], hicut= 20000->[200,20000,\exp]; var input, sig, trig, highpass, lowpass, key; input = \in; trig = (input.abs > thresh); highpass = HPF.ar(input,lowcut); lowpass = LPF.ar(highpass, hicut); key = ("rave" ++ Rad ...
-
... cument: UGen Changelog . Breaking Changes Phasor: fix init sample: don't ignore trig on first sample. If code relied on this bug, it may change behavior. by @elgiano in https://github.com/supercollider/supercollider/pull/6833 fix mod for ne ...
-
... undIn.ar(0), // will come from NRT input file fft = FFT(LocalBuf(512, 1), sig), trig = Onsets.kr(fft), // count the triggers: this is the index to save the data into resultbuf i = PulseCount.kr(trig), // count time in seconds timer = Sweep. ...
-
... .5, decay, 0).kr(doneAction: 2); snd = Pluck.ar( in: WhiteNoise.ar(amp), trig: Impulse.kr(0), maxdelaytime: 0.1, delaytime: (freq*2).reciprocal, decaytime: decay, coef: dampen); snd = snd * env; Out.ar(0, [snd, snd]); ...
-
... =440,rq=0.1,width=0.5,fenv,fenvmod=1000,envadsr,dur=0.1,tempo; var gate; gate = Trig1.kr(1.0,dur / tempo); RLPF.ar( VarSaw.ar( freq, 0.0, width ), EnvGen.kr(fenv,gate,levelScale: fenvmod), rq) * EnvGen.kr(envadsr,gate,0.2, doneAction: 2) }, ...
-
... ), than for going down (parameter lagdown ). Based on the UGen LagUD . ASRNode Trigger an envelope from the signal. This keeps the envelope open, as long as the input signal is above 0. Has the parameters attack , release , curve . See the ...
-
... PI. Whenever a the content of a model changes the corresponding controller gets triggered and executes its actions. So, if a message like widget 'freq' (CVWidget2D) at slot 'lo' midiDisplay.model: `(( 'learn': L, 'src': source, 'chan': chan ...
-
... ion: 2); snd = Pluck.ar( in: LFTri.ar(freq: freq, mul: amp), trig: Impulse.kr(0), maxdelaytime: 0.1, delaytime: freq.reciprocal, decaytime: decay, coef: dampen); Out.ar(0, [snd, sn ...