-
... 0| var x; x = Formant.ar( SinOsc.kr(0.02, 0, 10, freq), formfreq, bwfreq ); x = EnvGen.kr(Env.adsr, gate, Latch.kr(gate, gate)) * x; Out.ar(out, x); }).add; ) x = Synth("sik-goo"); // set the action: ( ~noteOn = { |src, chan, num, vel| x.se ...
-
... , Saw, Pulse].choose.ar(freq:(([37,61,63,66,68,70,73].choose)+base).midicps,mul:EnvGen.kr(Env.perc,Impulse.kr(rrand(0.01,10)))))})}); )-
-
... 9.do{a.next.postln}; ( s.waitForBoot{ SynthDef(\hh, {|amp= 1, rel= 0.05| var e= EnvGen.ar(Env.perc(0, rel, amp, -10), doneAction:2); var z= WhiteNoise.ar(e); z= BPF.ar(z, 5000, 0.4); Out.ar(0, Pan2.ar(z, 0, 1.5)); }).add; SynthDef(\bz, {|am ...
-
... of key streams can be done in object prototyping style with a dedicated PLbindefEnvironment, which also holds player methods. This Environment is itself assigned to the PLbindef's name in an Environment of choice, by default the current Env ...
-
... t Extension Granular synthesis with sound sampled in a buffer and user supplied envelope Source: GrainSynths.sc See also: BufGrain , BufGrainI Description Class Methods BufGrainB. ar ( trigger: 0 , dur: 1 , sndbuf , rate: 1 , pos: 0 , envbu ...
-
... 0.01, 0.1, 1, 10].ampdb; Symbol \foo .ampdb; // returns itself. this is used in Envelopes see Env . Function f = ampdb({ |x| sin(x) + 1 }); f.value((0..1000).normalize(0, 8pi)).plot; UGen ( { var a = LFSaw .ar(100).range(0.0001, 10); [a, a. ...
-
// test //-- INIT SynthDef(\thatblip, { OffsetOut.ar(0, Env.perc(0.001, 0.1, \amp.kr(0.1)).ar(doneAction: 2) * Blip.ar(\freq.kr, 20) ) }).add; s.sync; //-- PLAY ( Tdef(\xthat, { loop { (instrument: \thatblip, note: rrand(-3, 10), octave: [5 ...
-
... var amp; amp = Latch.kr(gate,gate); RLPF.ar( Pulse.ar(freq,width), ffreq, rq) * EnvGen.kr(Env.adsr,gate,amp) }); Patch(\monosynth,[ MIDIGatePlayer.new, MIDIFreqPlayer.new ]).gui ) ⧉ ✔ Class Methods . new Arguments: init Inherited class meth ...
-
... mescale=1, curve=0, loopnode=0, formfact=2, widfact=0.5, spread=1, amp=0.1| var env = EnvGen .kr ( Env ( { 1.0.rand2 }!11, {1.0.rand}!10 * timescale, curve, releaseNode: 9, loopNode: loopnode) ); var pitch = (env * [1, 0.33, -1] * intv).mid ...
-
... sc.kr(plfofreq, mul: mw, add: 1); freq = Lag.kr(freq, freqlag) * plfo; fcurve = EnvGen.kr(Env.adsr(0, 0.3, 0.1, 20), gate); fcurve = (fcurve - 1).madd(0.7, 1) * ffreq; sig = Mix.ar([Pulse.ar(freq, 0.9), Saw.ar(freq*1.007)]); sig = RLPF.ar(s ...