-
... ncidence ; // higher freq. rolloff attenuation factor for incidence attackSig = EnvGen.ar(Env.perc(attackSecs, 0.0001, excitationAmp, -9 ), t_trig) ; // attackSig = Decay.ar( EnvGen.ar(Env.perc(attackSecs, 0.0001, excitationAmp, -9 ), t_tri ...
-
... hDef("pvrec", { arg recBuf=1, soundBufnum=2, dur, start; var in, chain, bufnum, env; bufnum = LocalBuf.new(fftSize, 1); env = EnvGen.kr(Env([0, 1, 1, 0], [0.01, dur - 0.02, 0.01], \sin), doneAction: 2); //Line.kr(1, 1, dur, doneAction: 2); ...
-
... req/sampleRate, -1, 1, -1); var phasorTrig = Trig1.ar(0.5-phasor, 1/sampleRate)+EnvGen.ar(Env([0,0,1,0], [1/sampleRate,1/sampleRate,1/sampleRate])); var latchTrig = (phasorTrig+(DelayN.ar(loopTrig, 0.01, 0.01))).clip(0,1); var postEnv =(Lat ...
-
... rig= 0, amp= 0.1, dur= 0.1, freq= 400, pan= 0, freq2= 600| Out.ar(out, Pan2.ar( EnvGen.ar(Env.perc(0.01, dur), t_trig) *SinOsc.ar(SinOsc.ar(Lag.kr(freq, 0.2), 0, 40, freq2), 0, amp), pan ) ); }).add; s.sync; //--world w= RedWindow("3d test" ...
-
... class).throw; }); // this is actually a variable space dict, not just handlers ^Environment(32, classHandlers, nil, true); } *handlersForClass { arg class; var match, path; match = registery[class.name] ?? { path = PathName(MxUnit.class.fil ...
-
... rue, addr: addr); ); ( ( SynthDef ( \ping , { |freq, pan, amp=0.3| var e, z; e= EnvGen .ar( Env .perc(0, 0.1, amp), doneAction:2); z= SinOsc .ar(freq, 0, 0.2); OffsetOut .ar(0, Pan2 .ar(z*e, pan)); }).memStore; ); ) // play a pattern on clo ...
-
... Impulse .ar( exp(1)/5.0 ), SinOsc .kr( pi/9.0, 1.0.rand ).range(0.05,0.7) ) ) * EnvGen .kr( Env .new([-40,-20, -30,-40].dbamp, [2, 1, 2].normalizeSum, 'exp' ), timeScale: dur, levelScale: 0.5, doneAction: 2 ).tanh; Out .ar(out, Pan2 .ar(sig ...
-
... //draft class for offset playback from a buffer based on blocks //mono only, no enveloping at the moment, no ampfunc panfunc etc //permanently existing looper, with retrigger to new offsets CutBuf1 : CutSynth { var synthid, trigbus; var <>b ...
-
... key streams can be done in object prototyping style with a dedicated PLbindefParEnvironment, which also holds player methods. This Environment is itself assigned to the PLbindefPar's name in an Environment of choice, by default the current ...
-
... forces affecting them, and decides on movements based on this connection to its environment. In an experimental version of its code, it sends out an OSC message with sensor data, planned motor control currents, and motor temperatures. https ...