{
   "author" : "BROKENCODE//",
   "name" : "Birds",
   "ancestor_list" : [],
   "description" : "I haven't found a quite satisfying code about birds, so here's a very simple SynthDef to start with",
   "labels" : [
      "simple",
      "bird",
      "birds"
   ],
   "code" : "(\r\nSynthDef(\\bird,{\r\n\tvar sig, freqenv, env, trig;\r\n\ttrig = Dust.ar(2);\r\n\tenv = EnvGen.ar(Env.perc(0.01,0.4,0.8,-8), trig, doneAction: 2);\r\n\tfreqenv = EnvGen.ar(Env([Rand(1000,3000), Rand(3000,6000), Rand(1000,2000), Rand(2000,5000)],[0.1,0.01,0.1]);, trig);\r\n\tsig = SinOsc.ar(freqenv, 0, env);\r\n\tsig = Pan2.ar(sig, Rand(-1.0,1.0));\r\n\tOut.ar(0, sig);\r\n}).add;\r\n)\r\n\r\n(\r\nRoutine({\r\n\tinf.do({\r\n\t\tSynth(\\bird);\r\n\t\trrand(1.0,2.0).wait;\r\n\t})\r\n}).play;\r\n)",
   "id" : "1-5cy",
   "is_private" : null
}
