{
   "name" : "mixolydian flat six meditation in pythagorean",
   "author" : "Luka P.",
   "ancestor_list" : [],
   "description" : "",
   "labels" : [
      "ambient"
   ],
   "code" : "// last updated on sccode.org fri 7. jun, 14:57 CET\r\n\r\n( // load this first - synth def\r\nSynthDef(\\harpsi, { \r\n\targ outbus = 0, freq = 440, ffreq = 2, amp = 1, gate = 1, release = 1;\r\n\tvar out;\r\n\tfreq = freq * Rand(1, 1.005);\r\n\tout = EnvGen.ar(Env.adsr(releaseTime:release), gate, doneAction: Done.freeSelf)\r\n\t* amp * Pulse.ar([freq,freq*1.005]/1, 0.25, mul:0.75 );\r\n\tout = out * [Rand(0.0, 1.0), Rand(0.0, 1.0)];\r\n\tout = RLPF.ar(out, freq * (ffreq / 4) + 1 );\r\n\tOut.ar(outbus, out);\t\r\n}).add;   \r\n)\r\n\r\n\r\n( // then run this - sequence\r\nTempoClock.default.tempo = 1.4;\r\n~scale = Scale.new(#[0,2,4,5,7,8,10],tuning: \\pythagorean, name: \"mixolydianb6\");\r\np = Pbind(\r\n\t\\instrument, \\harpsi,\r\n\t\\root, -12,\r\n\t\\scale, ~scale,\r\n\t\\ffreq, Pseq(((1..2) ++ (3..1)),inf),\r\n\t\\degree, Pseq([\r\n\t\tPseries({ rrand(0, 7) }, { ([1,2]).choose }, { rrand(4, 8) }),\r\n\t\tPseries({ rrand(0, 7) }, {([1,2]).choose}, { rrand(4, 8) }),\r\n\t\tPseries({ rrand(7, 14) }, 0-{([1,2]).choose}, { rrand(4, 8) })\r\n\t], inf),\r\n\t\\release, Prand([5,6,7,8],inf),\r\n\t\\dur, Prand((1..8)/4, inf),\r\n\t\\amp, Prand(((1..8)/8)+1, inf)\r\n).play;\r\n)",
   "id" : "1-5bG",
   "is_private" : null
}
