-
... Japan. ( SynthDef("pulse",{ arg freq,delayTime,amp = 1.0,attack = 0.01; var out,out2,env; env = EnvGen.kr(Env.perc(attack, 1, 5, 10),doneAction: 2); z = SinOsc.ar(freq,0,0.7); a = Pan2.ar(ToggleFF.ar(TDelay.ar(z,delayTime)) * SinO ...
-
... to !? to init again) ~busses = ~busses ?? { ~matrix_in_count = 8; ~matrix_out_count = 4; ~matrix_ins = ~matrix_in_count.collect({ arg idx; var bus = Bus.audio(s,2); Ndef(\matrix).set(( \in++idx ).asSymbol, bus); bus; }); ...
-
... lease=0.1; var in, s1,s2, s3, s4, mod,maxfreq, maxdelay, basedelay, maxdepth, out, mod1, depth, mfreq; s1 = SoundIn.ar(0,mul:2); s2 = PitchShift.ar(s1,pitchRatio:1.1); s2 = DelayL.ar(s2,delaytime:0.01); s3 = PitchShift.ar(s1,pitc ...
-
... ERPADRISE DEF -=-=-=-=-=-=-=-=-=-=-=-=-=- SynthDef(\WaterPadRise5, { | out = 0, amp = 1, baseEnvLfoSpeed = 1, sinLfoSpeed = 0.001, maxEnvLfoDepth = 10, maxSinLfoDepth = 60 | var numOfSines = 5; var minEnvLfoSpeed = bas ...
-
... mul: env), freq: MouseY.kr(500, 2500), rq: 0.1 ); Out.ar(0, snd); }).add; ) ( SynthDef("hihat", {arg out = 0, amp = 0.5, att = 0.01, rel = 0.2, freq = 1000, pan = 0; var env, snd; env = Env.perc ...
-
... 24,10,7,12, -2,7,-7,0, 10,-2,22,24].scramble + 31].flop; // Run first the Routine, then change patterns ~dseq, ~bseq and ~bseq2 in the upper part ( Routine.run {var c; c = Condition.new; s.freeAll; TempoClock.all.do{|x|x.clear}; s. ...
-
routine that takes a seed and generates a self-similar sloth canon with it by adding each term to each term, better explained in this blog post: https://www.science20.com/robert_inventor039s_column/blog/self_similar_sloth_canon_number_seque ...
-
( SynthDef("flange", {arg freq=440, release=0.1; var x, sig,out, mod1, depth, mfreq,maxfreq, maxdepth, maxdelay, basedelay; maxfreq=3; maxdelay=0.01; basedelay=maxdelay/2; maxdepth=basedelay/2; depth = MouseY.kr(0,maxdepth); ...
-
... up talking to my buddy Shane. SynthDef(\guitar2, { arg freq, amp, pan = 0; var out, pluck, period, string; freq = freq * [0.99,1,2,0.98]; pluck = PinkNoise.ar(Decay.kr(Line.kr(1, 0, 0.05), 0.05)); period = freq.reciprocal; string = Com ...
-
... ction of synths I'm using for livecoding as at 8/03/2017 SynthDef(\slice, { |out, gate=1, buf, slices=16, slice=0, freq = 261.6255653006, amp=0.1| var myenv, env, start, len, basefreq = 60.midicps, rate, sig; rate = freq / basefreq; ...