-
... 1, name2, arg2...]—more like Synth or Set than like Patch. Fixed arguments like envelopes should be specified here. target: Where you want the synths to be placed. bus: The bus you want them to play on. If target and bus are not specified, ...
-
... me = 1, cutoff = 20000, reHashesPerCycle = 1, hashRate = 1, nyquist = 5000; var env, chaosRise, chaosFall, noisefunction, noise, switcha, switchb, shapea, shapeb, snd; //Envelopes for the signal and amount of noise on each half of the wavef ...
-
( Alga.boot({ a = AP(( def: { SinOsc.ar(\freq.kr(440)) * EnvGen.ar(Env.perc, doneAction:2) }, //degree: Pseq([1, 2], inf), //detune: Pseq([100, [200, 400], 300], inf), freq: Pseq([[440, 880], 220], inf), dur: 0.5 )).play }); ) a.from(Pseq([ ...
-
... for a one bit, 1-or-0 output. I decided I wanted volume control, so I added an envelope, and shifted from using logic gates to using math that works kinda like those logic gates, but that responds to and outputs a continuous range of numbe ...
-
... In.ar(dryBus, ~dirt.numChannels); signal = (signal * 5).tanh; signal = signal * EnvGen.kr(Env.asr, gate, doneAction:2); Out.ar(effectBus, signal); }, [\ir, \ir]).add; s.freeAll; // restart all synths ) // a dirty hyperbolic tangens, randoml ...
-
... : { ctl.source.isNumber } } { if(checkName.(name.asSymbol) and: { (value = name.envirGet).notNil }) { proxy.source = value; if(name == \gt and: { sustain.notNil and: { sustain < inf } }) { if(releaseHolder.notNil) { releaseHolder[proxy] = t ...
-
... SynthDef(\zzz, {|out, amp = 0.1, sustain = 1, freq = 440, noise = 0.3, pan| var env = EnvGen.ar(Env.perc(0.01, sustain), doneAction: 2) * amp; var son = SinOsc.ar(freq * [1, 1.2], BrownNoise.ar * noise).sum; Out.ar(out, Pan2.ar(son * env, p ...
-
... olks would call a "chirp" SynthDef(\kick_chrp, { |out=0, amp=0.1, pan=0| var ampenv, pitchenv; ampenv = EnvGen.ar(Env.perc(0, 0.2, curve: 0), doneAction: 2); pitchenv = EnvGen.ar(Env.perc(0, 0.1, curve: -20).exprange(0, 1000), doneAction: 0 ...
-
... rrand(0.1,1.0), Impulse.kr(rrand(25.0,100.0)), BufFrames.kr(1)/rrand(1,10),1) * EnvGen.kr(Env([0,rrand(0.1,1),rrand(0.1,1),0],[0.01,0.01,0.01],-4), Impulse.kr(rrand(25.0,100.0))), PlayBuf.ar(1,1,BufRateScale.kr(1)+rrand(0.1,1.0), Impulse.kr ...
-
... ot({ AlgaSynthDef(\test, { SinOsc.ar(\freq.ar([440, 441]) + \something.kr(1)) * EnvGen.ar(Env.perc, doneAction:2) }).add; AlgaSynthDef(\test2, { Saw.ar(\freq.kr(0)) * EnvGen.ar(Env.perc, doneAction:2) }).add; s.sync; b = AlgaNode({SinOsc.kr ...