-
( Alga.boot({ AlgaSynthDef(\test, { SinOsc.ar(\freq.ar([440, 441, 442])) * EnvGen.ar(Env.perc(0.01, 0.5), doneAction:2) }, sampleAccurate:true).add; AlgaSynthDef(\test2, { Saw.ar(\freq.ar(440)) * EnvGen.ar(Env.perc(0.01, 0.5), doneAction:2) ...
-
... frequency of the drum: tone = SinOsc.ar(freq: [tonelo, tonehi]); tone = tone * Env.perc( attackTime: att, releaseTime: [tonerel, 0.73 * tonerel], level: toneamp, curve: curve ).kr; //Noise for the rattling of the snares: (original used Whi ...
-
... , 5.43, 6.8, 8.21] * freq, 0, #[1, 0.9, 0.8, 0.7, 0.6, 0.5] * 0.1); son = son * EnvGen.ar(Env.new([0,1,0.3, 0.2, 0], [0, 0.3, 0.3, 0.3])); // A bit of FM adds 'warble' son = son * LFTri.ar({Rand(1.0, 1.8)}.dup(6), 1, 0.3, 0.7); // Mix down ...
-
... 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 ...
-
... \sGliss_out, { |outBus, atk= 0.1, rel= 1, gate= 1, vol= 0, on= 1, amp= 0| var onEnv= EnvGen.kr(Env.asr(atk, 1, rel), on); var snd= In.ar(\sGliss_bus.ir, this.numChannels); //stereo var env= EnvGen.kr(Env.asr(atk, 1, rel), gate, doneAction:2 ...
-
... t1playbuf++((i+1).asSymbol),{arg bufnum=0,outbus=0,rate=1,dur=0.1; var playbuf, env; playbuf= PlayBuf.ar(i+1,bufnum,BufRateScale.kr(bufnum)*rate,1,0,0); env= EnvGen.ar(Env.linen(0.0,dur,0.0,1.0,0),doneAction:2); Out.ar(outbus,playbuf*env); ...
-
... { arg // Standard Values out = 0, amp = 0.15, gate = 1, freq = 100, pan = 0, // Envelope Controls att = 3, dec = 1, sus = 1, rel = 5, crv = 0, // Reverb Controls (all go from 0 to 1) reverbMix = 0.75, roomSize = 0.9, damp = 0.5, // Other Co ...
-
... ) + (b * dx) + c); } } Interpl { /***** Break Point interpolator. Similar to an Envelope that can be indexed discreetly or continuously by any arbitrary value (while Envelopes can only be indexed by time, using EnvGen). *****/ var <points, ...
-
... recLevel=1 , preLevel=0 , fade=0.01 ; var sig; sig = SoundIn.ar(0); sig = sig * Env.linen(fade, (30.0-(fade*2)), fade, 1, 'sin').kr; RecordBuf.ar(sig, ~buffer0.bufnum, 0, recLevel, preLevel, loop: 0); }); == radpostcont == (none) >> or @1 1 ...
-
... 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, ...