-
... ut", { arg inbus, amp = 0.1, gate = 1, att = 0.1, sus = 1, rel = 1; var env = EnvGen.kr(Env.asr(att, sus, rel), gate); Out.ar(0, In.ar(inbus, 2) * amp * env * 0.05); }).add; SynthDef("percussiveOut", { arg inbus, amp ...
-
... utbus, PlayBuf.ar(numChannels, buffer.bufnum, BufRateScale.kr(buffer.bufnum)) * EnvGen.kr(Env([1,1], [(duration - starttime) +1]), doneAction: 2)); }).play(server); AppClock.sched((duration-starttime), {this.stop}); })}, {CocoaDialog.getPat ...
-
... ] == maxItem) {output = output.add(item)}; }; ^output; } // converts breakpoint envelope [x1,y1,x2,y2,...] to Env by Henrich Taube pairsAsEnv {|normalize = false, curve=\lin| var len, xary=[], yary=[], head, tail; if (this.isArray.not){Erro ...
-
... 0, 2, "m" ].asSpec ], ] ) .category_( \private ) // first a few general things .envPut( \getArgsFor, { |evt, which, args, server, startPos = 0| if( which.notNil ) { U.formatArgs( (args ? []).clump(2) .select({ |arr| which.includes( arr[0] ) ...
-
... = 0, att = 0.01, rel = 0.1, pos = 0, gate = 1 | var in, vibrato, above, below, env, va, ve, vi, vo, vu, snd; // calculate vibrato // vibratoDepth is number of semitones to go up and down above = (freq.cpsmidi + vibratoDepth).midicps - freq ...
-
... = 0.2, for global amp of synth * att = 0.01, attack time of the main amplitude envelope * rel = 1, release time of amplitude envelope * sus = 1, sustain level (as in a typical ADSR) * dec = 0.1, decay time (as in typical ADSR) * gate = 1, ...
-
... 0, wobbleRate = 3, amp = 1, attack = 0.03, decay = 0.03, release = 0.03| var env = EnvGen.ar(Env.adsr(attack, decay, 1, release), gate, doneAction: 2); var wobble = SinOsc.ar(wobbleRate).range(0, wobbleDepth); var osc = SinOsc.ar(f ...
-
... BPeakEQ.ar(BPeakEQ.ar(BPeakEQ.ar(BPeakEQ.ar(FreeVerb.ar( ( DelayN.ar( RLPF.ar( EnvGen.kr( Env.perc(Rand(0.001,0.01),Rand(0.001,0.01)), Impulse.kr(Rand(10,50))) * InFeedback.ar(~a.index), Rand(800,1200),0.01) ,Rand(0.1,1.0),Rand(0.1,1.0)) ) ...
-
... ///////////////////////////////////////////// Scaling = multiplication Apply an envelope, in the form of a low-frequency sine wave, to a WhiteNoise generator. { WhiteNoise .ar(0.1) * SinOsc .kr(1, 1) }.scope; ( // scaling and mixing // ... ...
-
... 0.1| var snd; // Basic tone is a SinOsc snd = SinOsc.ar(freq) * EnvGen.ar(Env.perc(0.005, Rand(2.5, 3.5), 1, -8), doneAction: 2); // The "clicking" sounds are modeled with a bank of resonators excited by enveloped pink ...