-
... Pattern(( def: \sine, dur: 0.5, freq: Pwhite(220, 880), fx: ( def: \tanh, dist: Pseq([1, 2, 4, 6],inf) ) )).play(chans: 2, scale: 0.5); }); ) //Modifying the 'fx' key triggers 'replace'. //The Pseq will apply tanh, comb and then let the ori ...
-
Pbindef(\pulseRisset, \instrument, "pulseRisset", \freq, Pseq([440, 880, 605, 889, 1800], inf), \dur, Pseq([4, 3, 2, 1/4, 1/3]), \rel, Pseq([Pn(11, 3), 2, 1]), \amp, 0.6, \pan, Pwhite(-1.0, 1.0), \pulseFreq, 8 );
-
more fun with patternproxies, feat. a hack to access internals of the EventStreamPlayer by alln4tural (alln4tural) Code
... 1perc = { |durs, lib| var n = durs.size; Pbind( \bufnum, PatternProxy(Pseq({lib.choose}!n,inf)), \rate, PatternProxy(Pseq([1],inf)), \posfrac, PatternProxy(Pseq({512.rand/512}!n,inf)), \dur, PatternProxy(Pseq(durs,inf ...
-
Pbindef( \organTonewheel2, \instrument, "organTonewheel2", \note, Pseq([Pseq([[-12, 0], [-12, 4], [-12, 7], [-12, 8], [-12, 7], [-5, 4]], 2), [-5, -1], [-12, 0, 3, 7]]), \dur, Pseq([Pwhite(0.2, 0.23, 12), 0.4, 0.1]), \legato, 1 );
-
Pbindef( \organTonewheel0, \instrument, "organTonewheel0", \note, Pseq([Pseq([[-12, 0], [-12, 4], [-12, 7], [-12, 8], [-12, 7], [-5, 4]], 2), [-5, -1], [-12, 0, 3, 7]]), \dur, Pseq([Pwhite(0.2, 0.23, 12), 0.4, 0.1]), \legato, 1 );
-
Pbindef( \organTonewheel4, \instrument, "organTonewheel4", \note, Pseq([Pseq([[-12, 0], [-12, 4], [-12, 7], [-12, 8], [-12, 7], [-5, 4]], 2), [-5, -1], [-12, 0, 3, 7]]), \dur, Pseq([Pwhite(0.2, 0.23, 12), 0.4, 0.1]), \legato, 1 );
-
Pbindef( \organTonewheel1, \instrument, "organTonewheel1", \note, Pseq([Pseq([[-12, 0], [-12, 4], [-12, 7], [-12, 8], [-12, 7], [-5, 4]], 2), [-5, -1], [-12, 0, 3, 7]]), \dur, Pseq([Pwhite(0.2, 0.23, 12), 0.4, 0.1]), \legato, 1 );
-
Pbindef( \organTonewheel3, \instrument, "organTonewheel3", \note, Pseq([Pseq([[-12, 0], [-12, 4], [-12, 7], [-12, 8], [-12, 7], [-5, 4]], 2), [-5, -1], [-12, 0, 3, 7]]), \dur, Pseq([Pwhite(0.2, 0.23, 12), 0.4, 0.1]), \legato, 1 );
-
... Birthday with Pbind // Basic version // just melody ( Pbind( \midinote, Pseq([ 72, 72, 74, 72, 77, 76, 72, 72, 74, 72, 79, 77, 72, 72, 84, 81, 77, 76, 74, 82, 82, 81, 77, 79, 77 ]), \dur, Pseq([ 3/4, 1/4, 1, 1, 1, ...
-
... alue; ~stopRecording.value; SuperDirt.default = ~dirt; // play it back Pdef(\x, Pseq(~recording)).play; Pdef(\x, Pseq(~recording, inf)).play; // looped // mess with it Pdef(\x, Pdict(~recording, Pseq([0, 4, 5] + 100, inf) % ~recording.size) ...