-
... releaseHolder = ~releaseHolder, skipArgs = IdentitySet.with(\gate, \fadeTime, \out).addAll(~skipArgs); var checkName; if(~setArgs.notNil) { checkName = { |cname| ~setArgs.includes(cname) } } { checkName = { |cname| skipArgs.includes(cname) ...
-
/* \shared_out ** this UMapDef should be used in conjunction with 'shared_in' ** The shared_out UMapDef creates an UMap that is able to share a value with other UMaps used further in the chain. This is useful when multiple units or unit par ...
-
/* \shared_out ** this UMapDef should be used in conjunction with 'shared_in' ** The shared_out UMapDef creates an UMap that is able to share a value with other UMaps used further in the chain. This is useful when multiple units or unit par ...
-
... dirt.numChannels, // OPTIONAL // passing this array of parameters could be left out, // but it makes it clear what happens [ xsdelay: ~xsdelay, tsdelay: ~tsdelay, sustain: ~sustain, out: ~out ] ) }, { ~tsdelay.notNil or: { ~xsdelay.notNil } ...
-
SynthDef(\ping_mh,{arg freq=440,amp=0.2,dur=1,attack=0.001,pan=0,out=0; var sig,freq2; freq=freq*rrand(1,1.01); freq2=freq*rrand(1,1.01); e=EnvGen.ar(Env.perc(attack,dur,curve:-4),doneAction:2); sig=SinOsc.ar([freq,freq2],0,amp*e); sig=Pan2 ...
-
//-- INIT ( SynthDef(\heavy, { |out| var n = 1200; var sig = { var freqs = { |i| (0..i).nthPrime.scramble.keep(8) }.dup(n).flat.as(Set).as(Array); var amps = { 0.4.rand }.dup(freqs.size); var dts = { 2.4.rand }.dup(freqs.size); freqs = freq ...
-
... a kick made using what radio folks 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).ex ...
-
... address in subclass // update method should modify the value of ~noteStream without updating anything else ~nextNotePattern = #{ |inEvent| // if there is an event, we need to move to the next chord (inEvent.size > 0).if({ ~currentChord = ~c ...
-
... odified by Bruno Ruviaro and Josh Mitchell 8/19. */ SynthDef("trig_demo", { arg out = 0, pan = 0, freq = 440, gate = 1, t_trig = 1, att = 0.01, sus = 1, rel = 0.25; var env, snd; env = Decay2.kr(in: t_trig, attackTime: att, decayTime: rel); ...
-
... dMixStereo : RedAbstractMix { *def { ^SynthDef(\redMixStereo, {|inA= 0, inB= 2, out= 0, mix= 0, amp= 1, lag= 0.05| var a= In.ar(inA, 2); //stereo var b= In.ar(inB, 2); //stereo var z= XFade2.ar(a, b, Ramp.kr(mix, lag), Ramp.kr(amp, lag)); R ...