-
more fun with patternproxies, feat. a hack to access internals of the EventStreamPlayer by alln4tural (alln4tural) Code
... here is that using this technique, one need not maintain administrative data about the patterns themselves -- one only has to remember the players as they are being created. ` ` and the meta-point here, beyond me having fun figuring o ...
-
... Ruviaro and Josh Mitchell 8/19. */ SynthDef("snare909", { arg //Standard Values out = 0, pan = 0, freq = 185, amp = 1, att = 0.0005, curve = -2, //Other Controls toneRel = 0.075, toneAmp = 0.25, noiseRel = 0.4, noiseAmp = 0.2, nyquist = 500 ...
-
... yBuf so that the loop runs automatically on the server, but it can easily drift out of sync with the client (because of slight deviations in the actual sample rate). Instead, the example defines a SynthDef that plays exactly one repetition ...
-
... beginning or end. If false, the pattern stops if it hits a nil element or goes outside the list bounds. ( var a, b; a = Pslide ([1, 2, 3, 4, 5], inf, 3, 1, 0); x = a.asStream; 13.do({ x.next.postln; }); ) Pslide used as a sequence of pitch ...
-
... ).frac == 0 ) { monthLib[1] = 29 }; monthLib = monthLib.collect({ |item, i| var out = item + ( lastMonth ? 1); lastMonth = out; [i+1, out, item] }); thisMonth = monthLib.select({ |item| item[1] > dayN }).first; month = thisMonth.first; day ...
-
... itchell 8/19. */ SynthDef(\glockenspiel, { arg freq = 440, amp = 0.01, pan = 0, out = 0, att = 0.001, rel = 6, exciterRel = 0.05; var env, snd, exciter; env = Env.perc(att, exciterRel, 0.25).kr; exciter = WhiteNoise.ar(env); snd = DynKlank. ...
-
... lide(~bufs[0..3]+2,inf,5,2)) Pbindef(\u, \pan, Pwhite(-0.3,0.3)) Pbindef(\u, \out, 0) Pbindef(\u, \out, Pseq([~mbus,~ebus],inf)) Pbindef(\u, \out, ~ebus) Pbindef(\u, \buf, Pn(Plazy({Pseq({~bufs.choose}!10,4)}))) Pbindef(\u).stop Pb ...
-
... EnvGen .kr(env, gate, doneAction: 2); src = SinOsc .ar(freq, 0, amp * envgen); Out .ar(0, Pan2 .ar(src, Rand (-1.0, 1.0))); }), SynthDef ( \control , { arg outbus, rate, low, hi; Out .kr(outbus, LFNoise2 .kr(rate).range(low, hi)) }) ); a.a ...
-
... EnvGen .kr(env, gate, doneAction: 2); src = SinOsc .ar(freq, 0, amp * envgen); Out .ar(0, Pan2 .ar(src, Rand (-1.0, 1.0))); }), SynthDef ( \control , { arg outbus, rate, low, hi; Out .kr(outbus, LFNoise2 .kr(rate).range(low, hi)) }) ); a.a ...
-
... EnvGen .kr(env, gate, doneAction: 2); src = SinOsc .ar(freq, 0, amp * envgen); Out .ar(0, Pan2 .ar(src, Rand (-1.0, 1.0))); }), SynthDef ( \control , { arg outbus, rate, low, hi; Out .kr(outbus, LFNoise2 .kr(rate).range(low, hi)) }) ); a.a ...