code snippets supercollider

Incremental sized patterns in supercollider

Following a question on facebook I asked I got an answer  which I included in a pbind.

(
~piano = Pbind(
\instrument, \piano,
\scale, Scale.augmented,
\dur, 1/8,
\degree, p { arg in; inf.do { arg x; in =

Pseed(128, Pxrand( ( -10..10), 10)).asStream;
x.do {in.next.yield;}};

}.stutter(16).asStream.trace,
\legato, Pkey(\dur),
\width, 1,
\preamp, 16,
\detune, 1.007,
\octave, 5,
))