-
... pitch (amplitude, feedback, and delay time), each one is controlled by an adsr envelope. For the delay and feedback envelopes, the adsr envelopes don't have to look "right-side-up" (the typical rise - drop - sustain - drop more shape). You ...
-
... 8), 0.02, 1); var snd = RLPF.ar(Pulse.ar(freq, 0.2), \rfreq.kr(2500), 0.3); var env = EnvGen.kr(Env.adsr, \gate.kr(1), doneAction: 2); snd * env; }); // ranges of the two params of interest Ndef( \sound1 ).addSpec(\freq, [60, 600, \exp]); N ...
-
... expect. Example: ( Instr ([ \test , \seqpantest ], { arg freq = 440, gate = 0, env, amp = 1, ffreq = 1000, rq = 1, pan = 0; var out; out = EnvGen .kr(env, gate, doneAction:2) * RLPF .ar( Pulse .ar(freq, 0.25, amp), ffreq, rq); Pan2 .ar(out ...
-
... expect. Example: ( Instr ([ \test , \seqpantest ], { arg freq = 440, gate = 0, env, amp = 1, ffreq = 1000, rq = 1, pan = 0; var out; out = EnvGen .kr(env, gate, doneAction:2) * RLPF .ar( Pulse .ar(freq, 0.25, amp), ffreq, rq); Pan2 .ar(out ...
-
... ine', {arg freq=400, amp=1; var osc; osc = SinOsc.ar( [freq,freq+0.05.rand] ) * EnvGen.ar( Env.perc, doneAction: 2) * 0.2; osc*amp; } ] ]
-
... 1), [ \amp.kr(0.1), Latch.kr(\amp.kr, durTrig) ]); var x = SinOsc.ar(freq); var env = EnvGen.ar(Env.perc(releaseTime: dur), durTrig, doneAction: Done.pauseSelf); //\dur.kr.poll(label:"durkr"); //dur.poll(label:"dur"); OffsetOut.ar(\out.ir(0 ...
-
... var freqs = [205.35, 304.41, 369.64, 522.71, 540.54, 812.21]; var signal, pulseEnv; pulseEnv = EnvGen.ar(Env.new([1.0, 0.6], [time], [-0.5]), timeScale:(1/1000)); signal = Mix.new(LFPulse.ar(freqs * 4.09)); signal = (BinaryOpUGen('==', sig ...
-
... Thread.clock.beats.debug("time at exit"); if(lastCmd.isKindOf(Proto)) { lastCmd.env.postcs } { lastCmd.dump }; status.debug("status at exit"); }; if(autoSyncAtEnd) { this.fullSync(warn: false) }; if(trace) { thisThread.clock.beats.debug("ti ...
-
... unds; x = (x - b.left)/b.width; y = 1 - ( (y - b.top)/b.height); ^[x, y] } } +SCEnvelopeView { addPointAtMouse { | x, y | var xs, ys, i, val; #x, y = this.normalizeXY(x, y); #xs, ys = this.value; i = xs.indexOfGreaterThan(x); val = Env.perf ...
-
... lSynth = SynthDef(\EuroColliderSynth, {|cvOut, gateOut, dcOffset=0, gate=0| var env = EnvGen.ar( envelope: Env.asr(attackTime: 0.001, releaseTime: 0.001), gate: gate, ); Out.ar(cvOut, DC.ar(1.0)*dcOffset); Out.ar(gateOut, env); }).play(args ...