{
   "labels" : [
      "code fork",
      "perc"
   ],
   "is_private" : null,
   "id" : "1-4Va",
   "code" : "(\r\nSynthDef(\\sound, {\r\n\targ i_bus = 0, amp = 0.1, freq = 440, sustain = 1, pan = 0;\r\n\tvar env, osc, out;\r\n\tenv = EnvGen.kr(Env.perc(0.01, sustain, amp),doneAction:2);\r\n\tosc = SinOsc.ar([freq, freq * 1.005, freq * 0.995], mul:env);\r\n\tout = Pan2.ar(osc, pan);\r\n\tOut.ar(i_bus, out);\r\n}).send(s);\r\n)\r\n\r\n(\r\n~amp = 0.1;\r\na = Pdef(\\a,\r\n\tPbind(\r\n\t\t\\instrument, \\sound,\r\n\t\t\\amp, ~amp * 1.5,\r\n\t\t\\degree, Pseq([2, 4, 5, 6, 1] - 1, inf),\r\n\t\t\\dur, Pseq([1, 1, 1, 1, 2] / 4, inf)\r\n\t)\r\n).quant_([3, 0, 0, 1]);\r\n\r\nb = Pdef(\\b,\r\n\tPbind(\r\n\t\t\\instrument, \\sound,\r\n\t\t\\amp, ~amp,\r\n\t\t\\degree, Pseq(([8, 6, 5, 3, 4, 6]!3).flat[0..(6*3)-2] - 1, inf),\r\n\t\t\\dur, Prand([Pseq([1, 1, 1, 1, 1, 1] / 4, 4), Prand([1/8, 3/8], 1)], inf)\r\n\t)\r\n).quant_([3, 0, 0, 1]);\r\n\r\nc = Pdef(\\c,\r\n\tPbind(\r\n\t\t\\instrument, \\sound,\r\n\t\t\\amp, ~amp * 0.6,\r\n\t\t\\degree, Pseq([1, 6, 8, 6, Pwrand([11,13], [2, 1].normalizeSum)] - 1, inf),\r\n\t\t\\amp, Pseq([0, 1, 1, 1, 1] / 10, inf),\r\n\t\t\\dur, Pseq([8, 1, 1, 1, 1] / 8, inf),\r\n\t\t\\sustain, 0.1\r\n\t)\r\n).quant_([3, 0, 0, 1]);\r\n)\r\n\r\n(\r\nSystemClock.sched(0, Routine({\r\n\ta.play; 12.yield;\r\n\tb.play; 12.yield;\r\n\tc.play; 12.yield;\r\n\tc.pause; 6.yield;\r\n\ta.pause; 6.yield;\r\n\r\n\tb.pause; a.play; 12.yield;\r\n\tb.play; 12.yield;\r\n\tc.play; 12.yield;\r\n\tc.pause; a.pause; 6.yield;\r\n\tb.pause; 6.yield;\r\n}));\r\n)",
   "name" : "Re: song of forest",
   "author" : "LFSaw",
   "ancestor_list" : [
      "1-4V2"
   ],
   "description" : "Timing variations..."
}
