-
... var sig; sig = ev[\osc].ar(freq); sig = sig * EnvGen.kr(\adsr.kr(Env.adsr(0.1,0.1,0.8,0.1)), gate, doneAction:2); sig = Pan2.ar(sig, pan, amp); Out.ar(out, sig); ...
-
... lmuff, velcurve, stereo, tune, random, stretch, sustain, mul, add); snd = snd * EnvGen.kr(Env.asr(0, 1, 0.1), gate, doneAction: 2); Out.ar(out, snd * amp); //by ???? }).add;
-
... }; //the most simple synth// SynthDef("kal", { arg freq, dur; var sig, env; //dur = dur * playback_speed; env = EnvGen.kr(Env.perc(0.01, dur), doneAction:2); sig = SinOsc.ar(freq)*env; Out.ar(0, Pan2.ar(sig)); }).add; / ...
-
... s three elements: number of segments, crossfade, strategy. See documentation of Env class. //texture indicates the number of sampler instruments played in the same time if possible. //samplerThickness is the number of sounds in a sampler in ...
-
... aitForBoot({ SynthDef(\sinePerc, { var x = SinOsc.ar(\freq.kr([440, 441])); var env = EnvGen.ar(Env.perc(releaseTime: \dur.kr(1)), \trig.kr(0), doneAction: Done.pauseSelf); OffsetOut.ar(\out.ir(0), x * env * \amp.kr(0.5)); }).add; //Writes ...
-
exploring of morphing cycled envelopes (i.e. kind of grains) as a sound source; give it some tries - there are possibly interesting ones ( Ndef(\ro_v19, { var freq = 40.rrand(90).debug('base freq'); var seed = thisThread.randSeed = 100 ...
-
... dMsg( "/c_set" , 10, 1200); Start a control process that writes to bus #10. The EnvGen doneAction will free this node automatically when it finishes. s.sendMsg( "/s_new" , "line" , s.nextNodeID, 0, 1); Free the node. s.sendMsg( "/n_free" , ...
-
... xy , Pbeta , Pbind , PbindProxy , Pbinop , Pbrown , Pcauchy , Pchain , Pdict , Penvir , Pevent , Peventmod , Pfhn , Pfunc , Pfuncn , Pgauss , Pgbman , Pgeom , Pget , Phenon , Pif , Pindex , Pkey , Platoo , Plazy , Plet , PlinCong , Plorenz ...
-
... nLevel = 1, start = 0, az = 0, el = 0, rad = 1,dur = 1, amp = 1; var playGrain, env, monoBeam, reDirect; env = EnvGen.ar(Env.sine(grainDur, grainLevel), 1, doneAction:2 ); playGrain = PlayBuf.ar(~hoaNumChannels.asInteger, buffer, startPos:s ...
-
... pattern is a function , Pdef creates a Prout with this function, passing in the envir, if given(see below). *new(key) Access the pattern at that key (if none is given, a default silent event is created) *default Default source, if none is g ...