-
... = Namespace(); q.n = 15; //Declare synthdefs q.sources = [ { var snd = RLPF.ar(Pulse.ar(\freq.kr(200), 0.2), 2500, 0.8) * 0.3; var env = EnvGen.kr(Env.asr, \gate.kr(1), doneAction: 2); Out.ar(0, snd * env); }, { var snd = SinOsc.ar(\freq.k ...
-
... rRate=1 , startPos=0 , mul=1 ; PlayBuf.ar(\buffer.numChannels, \buffer, rate, Impulse.kr(triggerRate), startPos.linlin(0,1,0, \buffer.numFrames), 1)*mul;}], ['osc1', {arg freq=400 , phase=0 , mul=0.5 ; Osc.ar(\buffer, freq, phase, mul)}], [ ...
-
... 1, 10e-10], [0.01, dec], 'exp' ), gate); waves = [ Saw .ar(freq, volEnv), Pulse .ar(freq, 0.5, volEnv)]; Out .ar(out, RLPF .ar( Select .ar(wave, waves), ctf + (filEnv * env), res).dup * vol); }).add; s.sync; line = Pano ...
-
... x, 1, att); modfreq = freq / 2; freqdev = modfreq * modindex; modulator = Pulse.ar(freq: modfreq, mul: freqdev); carrier = SinOsc.ar(freq: [freq + modulator, freq * 1.011 + modulator]); carrier = carrier + SinOsc.ar(freq: [freq + ...
-
... fenvmod,envperc,dur,tempo; var gate; gate = Trig1.kr(1.0,dur / tempo); RLPF.ar( Pulse.ar( freq, width ), EnvGen.kr(fenv,gate,levelScale: fenvmod), rq) * EnvGen.kr(envperc,gate,0.3, doneAction: 2) },[ // using the beat to index into chord ch ...
-
... UGen which has the two operands as inputs. { var a, b; a = LFSaw.ar(220); b = LFPulse.ar(1442); [a, b, a * b] }.plot; ⧉ ✔ For an overview of common operators, see Operators , for specific examples, see also e.g. Function , UGen , Pattern . ...
-
... .rand], ["saw", Color.black, Color.rand], ["noise", Color.black, Color.rand], ["pulse", Color.black, Color.rand] ]) .action_({ |butt| butt.value.postln; }); w.front; ) // does not do action b.value = 2; // does action if it results in a cha ...
-
... this SynthDef has a strong attack, emphasizing the articulation SynthDef ( \sawpulse , { |out, freq = 440, gate = 0.5, plfofreq = 6, mw = 0, ffreq = 2000, rq = 0.3, freqlag = 0.05, amp = 1| var sig, plfo, fcurve; plfo = SinOsc .kr(plfofreq ...
-
... 1) }) }); }; t = TempoClock (128/60); // the instrument Instr ([ \analog , \sawpulse ], { arg freq, gate, freqlag, env, fenv, ffreq, rq, width, vsens, fenvsens, detune, pb, plfofreq, mw, plfoClass; var sig, plfo, amp, fcurve; amp = Latch . ...
-
... 1) }) }); }; t = TempoClock (128/60); // the instrument Instr ([ \analog , \sawpulse ], { arg freq, gate, freqlag, env, fenv, ffreq, rq, width, vsens, fenvsens, detune, pb, plfofreq, mw, plfoClass; var sig, plfo, amp, fcurve; amp = Latch . ...