-
... ect(90,90,305,55)).front;16.do{|x|Button(w).action_{play{g.ar(x+1*200)*g.ar(70)*EnvGen.ar(Env.perc(0,1))/2}}}
-
... p(this.prMix, nil, [snd]); var done= SetResetFF.ar(HPZ1.ar(pos)<0*(1-loo)); var env= EnvGen.kr(Env.asr(atk, 1, rel, cur), gate*(1-done), doneAction:2); Out.kr(bus, pos); Out.ar(out, mix*amp.lag*env); }).add; }; } } SPlayFileStereo : SPlayFi ...
-
... 's take a listen. Evaluate the following code block to hear the rotation of two enveloped sinusoids. Note the rotation of the the lissajous pattern on the stethoscope. ( ~rotTest = { var in, inL, inR; var out; var lfo; var env1, env2; var f ...
-
... er sonar. {inf.do{{GVerb.ar(RLPF.ar(RHPF.ar(WhiteNoise.ar(0.1),870),880,0.0068)*EnvGen.kr(Env.perc(0.01,4),doneAction:2),10,3,0.9)}.play;5.wait}}.fork
-
... ef(\guiTest).gui(2).parent.moveTo(0,0).alwaysOnTop_(true) }); Tdef(\guiTest, { |env| (env.winExtent ? Tdef(\guiTest).getHalo(\allExtents)).do { |winExtent| var winName = "Main_NTMI at: %x%".format(*winExtent.asArray).postcs; Window.closeAll ...
-
... dfreq = 1, amp = 0.5, attack = 0.01, dur = 2, pos = 0; var carrier, modulator, env; modulator = LFSaw.kr(modfreq).range(0, 1); carrier = LFSaw.ar(freq: freq, mul: modulator); env = Env.perc(attackTime: attack, releaseTime: dur - attack, ...
-
... ; // careful, really loud }.scope; ) FreqScope.new; // Here's the variable pulseEnv from the original: // just a line ramping down from 1 to 0.6: ( Env.new( levels: [1.0, 0.6], times: 0.25, curve: -0.5 ).plot; ) // Apply pulseEnv to the noi ...
-
... 0.025, freq.reciprocal.lag(flag), pluckdecay ) * 0.6; sig = sig * EnvGen.ar(\adsr.kr(Env.adsr(0.4,0.1,0.8,7.1)),t_trig,doneAction:0); EnvGen.ar(Env.adsr(0.4,0.1,0.8,7.1),gate,doneAction:2); sig = LeakDC.ar(sig); sig = Pa ...
-
... , nharms = 10, pan = 0, gate = 1 | var audio = Blip .ar(freq, nharms, amp); var env = Linen .kr(gate, doneAction: 2); OffsetOut .ar(out, Pan2 .ar(audio, pan, env) ); }).add; ); a = Pbind ( \instrument , \test , \dur , 0.1); Pbindf (a, \freq ...
-
... , attack = 0.01 , decay = 0.3 , sustain = 0.5 , release = 1 ; SinOsc.ar(freq) * Env.adsr(attack, decay, sustain, release).kr(gate: trig); }); Ndef('block1').set('trig', 0); Ndef('block1').set('trig', 1); == radpostcont == (none)