-
... utton down 3: %.\n" .postf([ch, cc, val]) }); g.ccDict; Mapping to JITGuis mapToEnvirGui(gui, scene, indices) - map to an EnvirGui. gui the gui scene in which scene to map map the gui indices which controls to map to. default is [1, 2 .. 8] ...
-
... .1, nharms = 10, pan = 0, gate = 1| var audio = Blip.ar(freq, nharms, amp); var env = Linen.kr(gate, doneAction: Done.freeSelf); OffsetOut.ar(out, Pan2.ar(audio, pan, env)); }).add; ) a = Pbind(\instrument, \test, \dur, 0.1); Pbindf(a, \fre ...
-
... ell" now you can give them cowbell. play{BPF.ar(Mix(Pulse.ar(587.3*[1,1.5074]))*EnvGen.ar(Env([0,1,0.1,0],[0.0005, 0.015,0.283]),Impulse.ar(2)),2640,0.9)!2} // built on this recipe: http://www.soundonsound.com/sos/Sep02/articles/synthsec ...
-
+ EnvelopeView { asEnv {|curves, timeScale=1, levelScale=1, levelBias=0, releaseNode, loopNode=0| var val, times, levels; times=Array.new; val=this.value; levels=val[1]; curves=curves ? Array.fill(val[0].size, 0); curves=curves.asArray; (va ...
-
... WASH 600 RGBW at dmx address 477 in universe 1: // DMX Mode = 7CH_2 q.light = {|env, r = 255, g = 255, b = 255, w = 255, dim = 255, flush = true, channel = 477| q.enttec.addChannelVals(channel, [dim, 0, 10, r, g, b, w]); q.enttec.sendDMX(1, ...
-
... s= channels ? #[0, 1]; SynthDef(\redTestPink, {|out= 0, gate= 1, amp= 1| var e= EnvGen.kr(Env.perc, gate, doneAction:2); var z= PinkNoise.ar(e*amp); Out.ar(out, z); }).add; Server.default.sync; players.add( Pbind( \instrument, \redTestPink, ...
-
... ) { Error("NodeProxy input: wrong rate/numChannels").throw } } }; { | out | var env; if(proxy.rate === 'audio') { env = EnvGate(i_level: 0, doneAction:2, curve:\sin); XOut.ar(out, env, SynthDef.wrap(func, nil, [In.ar(out, proxy.numChannels) ...
-
... er.verbose = true; Alga.boot({ AlgaSynthDef(\test, { SinOsc.ar(\freq.ar(440)) * EnvGen.ar(Env.triangle(0.5), doneAction:2) }).add; s.sync; a = AlgaPattern(( def: \test, dur: Pseq([0.25]), freq: Pwhite(100, 400) )) //s.plotTree; }); ) ( l = ...
-
... 0.0, 1.0), amp/12); }); sig = (sig*maingain).softclip; sig = (sig * Env.adsr(attack, decay, 1.0, release).kr(2, gate)); sig = Pan2.ar(sig, Line.kr(Rand(-1.0, 1.0), Rand(-1.0, 1.0), Rand(0.01, 3.0))); Out.ar(out, sig); ...
-
... = SinOsc.ar(freq*[0.9,0.99,1,1.01,1.1], mul:[0.05,0.2,1,0.2,0.05]).mean; var env = EnvGen.ar(Env.perc(1e-4,rel,0.75), 1, timeScale:time, doneAction:2); sig = Splay.ar(sig) * env * \amp.kr(0.1) * AmpCompA.kr(freq); Out.ar(out, sig); ...