-
... extureSynth, { |freq=440, numharm=4, clip=1, amp=1, outbus=100| var out, src, env, amps; // mutes amps = {|i| i<numharm}!~maxharm; amps = amps.collect{|item, i| item/(i+1)}; // envelope env = EnvGen.ar(Env([0,1,0.5,0.1,0.01 ...
-
... k rate amp = 0.5, att = 0.01, //attack time of the adsr envelope dec = 0.4, //decay time sust = 0.7, //sustain level rel = 1, //release time (synth is freed when the envelop ...
-
... olks would call a "chirp" SynthDef(\kick_chrp, { |out=0, amp=0.1, pan=0| var ampenv, pitchenv; ampenv = EnvGen.ar(Env.perc(0, 0.2, curve: 0), doneAction: 2); pitchenv = EnvGen.ar(Env.perc(0, 0.1, curve: -20).exprange(0, 1000), doneAction: 0 ...
-
... example ( SynthDef(\help_sinegrain, { |out = 0, freq = 440, sustain = 0.05| var env; env = EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( var a; a = Pbrown(0.0, 1.0, 0.1, ...
-
... op formatOut starttime endtime gui isScope mute_w mute_y pausedplay initendtime env bufnum player close amp group mute_x clock outarray filename isGui init sf soundfilepath window soundfile scopebuf initstarttime server curtime mute_z outbu ...
-
... \sGliss_out, { |outBus, atk= 0.1, rel= 1, gate= 1, vol= 0, on= 1, amp= 0| var onEnv= EnvGen.kr(Env.asr(atk, 1, rel), on); var snd= In.ar(\sGliss_bus.ir, this.numChannels); //stereo var env= EnvGen.kr(Env.asr(atk, 1, rel), gate, doneAction:2 ...
-
... t1playbuf++((i+1).asSymbol),{arg bufnum=0,outbus=0,rate=1,dur=0.1; var playbuf, env; playbuf= PlayBuf.ar(i+1,bufnum,BufRateScale.kr(bufnum)*rate,1,0,0); env= EnvGen.ar(Env.linen(0.0,dur,0.0,1.0,0),doneAction:2); Out.ar(outbus,playbuf*env); ...
-
PlazyEnvirN: Filter: Description Class methods new Inherited class methods Instance methods Inherited instance methods Undocumented instance methods embedInStream makeGenFunc Examples Classes | Streams-Patterns-Events > Patterns'>Patterns > ...
-
... example ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( var t; a = Pprob ([0, 0, 1, 0, 1, 1, 0, ...
-
... { arg // Standard Values out = 0, amp = 0.15, gate = 1, freq = 100, pan = 0, // Envelope Controls att = 3, dec = 1, sus = 1, rel = 5, crv = 0, // Reverb Controls (all go from 0 to 1) reverbMix = 0.75, roomSize = 0.9, damp = 0.5, // Other Co ...