-
( SynthDef(\gendy, { |out, sustain = 1, freq = 440, pan, fratio = 0| var env, sound, gfreq1, gfreq2; gfreq1 = freq * (2 ** fratio.neg); gfreq2 = freq * (2 ** fratio); env = EnvGen.ar(Env.sine(sustain), doneAction:2); sound = Gendy1.ar(1, 1, ...
-
/* Retrieved from http://sccode.org/1-5aD */ SynthDef(\strings, { arg out, freq=440, amp=0.8, gate=1, pan, freqLag=0.2; var env, in, delay, f1, f2; f1 = freq.lag(freqLag); f2 = freq.lag(freqLag * 0.5); delay = 0.25 / f2; env = Env.asr(0, 1, ...
-
... k RedMixMono : RedAbstractMix { *def { ^SynthDef(\redMixMono, {|inA= 0, inB= 2, out= 0, mix= 0, amp= 1, lag= 0.05| var a= In.ar(inA, 1); //mono var b= In.ar(inB, 1); //mono var z= XFade2.ar(a, b, Ramp.kr(mix, lag), Ramp.kr(amp, lag)); Repla ...
-
... eoMono : RedAbstractMix { *def { ^SynthDef(\redMixStereoMono, {|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, 1); //mono var z= XFade2.ar(a, b.dup, Ramp.kr(mix, lag), Ramp.kr(amp, lag)); ...
-
... k= assoc.key; var v= assoc.value; var spec= thisdef.metadata[\specs][k]; if(k==\out, {v= \out}); //special case cvs.put(v, Ref(spec.default)); specs.put(k, spec); }; this.initMethods; forkIfNeeded{ server.bootSync; thisdef.add; server.sync; ...
-
... ls, server); } *initClass{ StartUp.add{ SynthDef(\ZZZGate, {|bus = 0, in = 1.0, out = 0| OffsetOut.ar( out, DC.ar(in: in) * In.kr(bus) ); }).add; SynthDef(\ZZZClock, { |out = 0, bus = 0, iphase = 0, width = 0.5, mul = 1.0, add = 0.0| Offset ...
-
... 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 ...
-
... ping_mh.scd */ 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,a ...
-
... me Of Life Foundation. http://gameoflife.nl Copyright 2006-2011 Miguel Negrao, Wouter Snoei. GameOfLife Unit Library: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Softwa ...
-
... me Of Life Foundation. http://gameoflife.nl Copyright 2006-2011 Miguel Negrao, Wouter Snoei. GameOfLife Unit Library: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Softwa ...