-
... Main Tetris Melody ( ~soprano1=Pbind( \instrument, "Synth3", \midinote, Pseq([76, 71, 72, 74, 72, 71, 69, 69, 72, 76, 74, 72, 71, 71, 72, 74, 76, 72, 69, 69, 69, 74, 74, 77, 81, 79, 77, 76, 76, 72, 76, 74, 72, 71, 71, 72, 74, 76, 72 ...
-
... ect({ |i| Buffer.read(s, i)}); (~gr = {2.0.linrand}!16/2; bindef(\x, \amp, Pseq(~gr/5, inf))) ~dr=({2.rand}!16.rand).normalizeSum*4; // array of variable length, always sums to 4 (~dr={2.rand}.dup([4,8,16,32].choose).normalizeSum*4 ...
-
... t = TempoClock(128/60); Pbind( \instrument, \kick, \freq, 60, \dur, Pseq([2, 2, 2, 2, 1, 1, 1, 1, 0.5, 0.5, 0.5, 0.5, 0.25, 0.25, 0.25, 0.25, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.0625, 0.0625, 0.0625, 0.0625 ...
-
a simple helper function to write \dur patterns in a XoX style i.e. Pseq(~xox.("xxooxoxo") * 8/120, inf) ( ~xox = {|str| str.collectAs({|l| switch(l.toLower,$x, {1}, $o, {Rest(1)})}, Array)}; ) ( SynthDef(\acid, { arg out, freq = 10 ...
-
... .add; ) //PBINDS ( ~amshort = Pbind( \instrument, "am1", \degree, Pseq([ [0, 2, 4, 6], 3, [7, 9, 14], 9 ], inf), \modfreq, 1, \amp, Pwhite(0.05, 0.2), \dur, 4, \att, 0.01, \pos, Pseq([-0.5, 0.5], inf) ...
-
Modal synthesis of xilophone, marimba, glokenspiel, tubular bells by nicolaariutti (nicolaariutti) Code
... st different textures // glokenspiel ( Pbind( \instrument, \bell, \fs, Pseq( (60..72), 1).midicps, \t60, 6, \pitchy, 4, \dur, 0.25 ).play; ) // tubular bells ( Pbind( \instrument, \bell, \fs, Pseq( (60..72), 1).mid ...
-
... ) // Example 1 - hihat only ( Pbind( \instrument, "hihat", \dur, Pseq([ 1/8, 1/8, 1/8, 1/8, // beat 1 1/8, 1/8, 1/16, 1/16, 1/8, // beat 2 1/8, 1/8, ...
-
... ut, sig); }).add; ) ( Pbind( \instrument, \madtraffic, \freq, Pseq([137, 373, Prand([237, 473, 713],1)], inf), \legato, Pseq([1.7, 0.3], inf), \dur, 0.3, \out, Pseq([1, 0], inf) ).play; )
-
... s.record; ( Pbind( \instrument, "backandforth", \tempo, 4/4, \midinote, Pseq([77,89,84,80,77,89,84,80],inf), \dur, 0.23, \amp, 0.6, ).play(TempoClock(128/60)); ) ) s.stopRecording; //For some reason going a bit slow nee ...
-
... rray.fill(size:12,function:{arg i;a[i]%8}); p=1/8;Pdef(\x,Pbind(\dur,p,\degree,Pseq(b,1,0))); r=Array.fill(12,{arg i;Pbindf(Pdef(\x),\mtranspose,b[i]);}); Pseq(r,(1/p)).play; )