{
   "labels" : [
      "pattern",
      "rhythmic",
      "chance"
   ],
   "code" : "TempoClock.default.tempo = 156/60;\r\n\r\n(\r\nSynthDef(\\spring, { |freq = 400, out = 0, pan = 0, gate = 1, dur = 0.15, curve = -4, amp = 1, index = 1|\r\n\tvar sig = FreeVerb.ar(Pan2.ar(Blip.ar(freq, index), pan));\r\n\tvar env = EnvGen.ar(Env.perc(0.01, dur, amp, curve), gate, doneAction:2);\r\n\tOut.ar(0, sig * env);\r\n}).add;\r\n)\r\n\r\n(\r\nPbind(*[\r\n\tinstrument: \\spring,\r\n\tdur: Pseq([4, 1, 2, 1, 1, 1].scramble/ 4 / TempoClock.default.tempo, inf),\r\n\tdegree: Pseq(#[1,2,3,4], inf) * Pkey(\\dur).reciprocal,\r\n\toctave: Pseq([2,3,4,4,4,3].scramble, inf),\r\n\tpan: Pxrand(Array.fill(100, { 0.gaussian(1).clip2(1) }), inf),\r\n\tamp: Pseq(#[0.95,1,0.8],inf),\r\n\tindex: Pstutter(Pseq(#[4,8,12],inf), Pseq([2,3,4,5,6,8].scramble, inf))\r\n]).play;\r\n)",
   "id" : "1-C",
   "is_private" : null,
   "author" : "vividsnow",
   "name" : "Spring box",
   "ancestor_list" : [],
   "description" : "get different result each time running the pattern"
}
