{
   "code" : "(\r\n\t~name = \\ghosts;\r\n\tSynthDef(~name, {\r\n\t\targ\t\tfreq=440, detune=3.0, atk=6, sus=4, rel=6, curve1=1, curve2=(-1),\r\n\t\t\t\tminCf=30, maxCf=6000, minRq=0.005, maxRq=0.04,\r\n\t\t\t\tminBpfHz=0.02, maxBpfHz=0.25,\r\n\t\t\t\tlowShelf=220, rs=0.85, db=6,\r\n\t\t\t\tgate=1, amp=1, spread=1.0, out=0;\r\n\t\tvar sig, env;\r\n\t\tenv = EnvGen.kr(Env([0,1,1,0],[atk,sus,rel],[curve1,0,curve2]), gate, levelScale:amp, doneAction:2);\r\n\t\tsig = Saw.ar(\r\n\t\t\tfreq +\r\n\t\t\tLFNoise1.kr({LFNoise1.kr(0.5).range(0.15,0.4)}!8).range(detune.neg,detune));\r\n\t\tsig = BPF.ar(\r\n\t\t\tsig,\r\n\t\t\tLFNoise1.kr({LFNoise1.kr(0.13).exprange(minBpfHz,maxBpfHz)}!8).exprange(minCf, maxCf),\r\n\t\t\tLFNoise1.kr({LFNoise1.kr(0.08).exprange(0.08,0.35)}!8).range(minRq, maxRq)\r\n\t\t);\r\n\t\tsig = BLowShelf.ar(sig, lowShelf, rs, db);\r\n\t\tsig = SplayAz.ar(4, sig, spread);\r\n\t\tsig = sig * env * 2;\r\n\t\tOut.ar(out, sig);\r\n\t}).add;\r\n);\r\n\r\n(\r\nPdef(~name, Pbind(\r\n\t\\instrument, ~name,\r\n\t\\freq, Pseq([8,4,2,4],inf) * Pwhite(0.9,1.3),\r\n\t\\detune, 7,\r\n\t\\minBpfHz, 0.01,\r\n\t\\maxBpfHz, Pwhite(0.1,76),\r\n\t\\minRq, 0.003,\r\n\t\\maxRq, exprand(0.008,0.8),\r\n\t\\minCf, Pseq([70,20,30,80,50,60,98],inf).midicps * Pwhite(0.9,1.3),\r\n\t\\maxCf, Pkey(\\minCf) * Pwhite(1.3,4),\r\n\t\\amp, exprand(0.20,0.25) *2,\r\n\t\\atk, exprand(0.7,8),\r\n\t\\rel, 1.5,\r\n\t\\sus, rrand(2.6,3.0),\r\n\t\\spread, exprand(1.5,8.0),\r\n\t\\dur, Pseq([2,1],inf)*Pwhite(0.9,1.3),\r\n)).play\r\n);\r\n)\r\n\r\n(\r\n\r\nPdef(~name, Pbind(\r\n\t\\instrument, ~name,\r\n\t\\freq, Pseq([8,4,2,4,1],inf) * Pwhite(0.9,1.3),\r\n\t\\detune, 7,\r\n\t\\minBpfHz, 0.01,\r\n\t\\maxBpfHz, 1.expexp(1.0,16.0,0.1,76.0),\r\n\t\\minRq, 0.003,\r\n\t\\maxRq, Pexprand(0.008,0.128).stutter(3),\r\n\t\\minCf, Pseq([70,20,30,80,50,60,98],inf).midicps * Pwhite(0.9,1.3),\r\n\t//\\maxCf, Pkey(\\minCf) * Pwhite(1.3,4),\r\n\t\\maxCf, 51.midicps * [1,1.1,1.5].wchoose([0.87,0.1,0.03]),\r\n\t\\amp, exprand(0.20,0.25) *2,\r\n\t\\atk, exprand(0.7,8),\r\n\t\\rel, 1.5,\r\n\t\\sus, rrand(0.6,1.0),\r\n\t\\spread, exprand(1.5,8.0),\r\n\t\\dur, Pseq([2,1]/2,inf)*Pwhite(0.8,1.3),\r\n)).play\r\n);\r\n\r\n(\r\n\r\nPdef(~name, Pbind(\r\n\t\\instrument, ~name,\r\n\t\\freq, Pseq([8,4,2,4,1],inf) * Pwhite(0.2,3.3).stutter(2),\r\n\t\\detune, 0,\r\n\t\\minBpfHz, 0.1,\r\n\t\\maxBpfHz, Pseq([1,2,3,2],inf).expexp(1.0,16.0,0.1,076.0),\r\n\t\\minRq, 0.003,\r\n\t\\maxRq, Pseq([\r\n\t\tPexprand(0.008,0.028,4).stutter(2),\r\n\t\tPexprand(0.008,0.228,1).stutter(1),\r\n\t],inf),\r\n\t//\\minCf, Pseq([65,75,50,55,58,60,78],inf).midicps * Pwhite(0.9,3.3),\r\n\t\\minCf, Pseq([90,94,80,150],inf) * Pexprand(1.0,4.3).stutter(3),\r\n\t\\maxCf, Pkey(\\minCf) * Pwhite(1.3,1.5),\r\n\t\\amp, Pexprand(0.20,0.21) *2,\r\n\t\\atk, Pexprand(0.007,8),\r\n\t\\rel, Pwhite(0.5,3.5),\r\n\t\\sus, Pwhite(0.2,4.0),\r\n\t\\spread, Pexprand(1.5,8.0),\r\n\t\\dur, Pseq([2,1],inf)*Pwhite(0.8,2.3),\r\n)).play\r\n);\r\n\r\n(\r\n\r\nPdef(~name, Pbind(\r\n\t\\instrument, ~name,\r\n\t\\freq, Pseq([1,2,4,2,1],inf) * Pwhite(1,4)/4,\r\n\t\\detune, 0,\r\n\t\\minBpfHz, 0.1,\r\n\t\\maxBpfHz, Pseq([7,2,13,2],inf).expexp(1.0,16.0,0.1,076.0),\r\n\t\\minRq, 0.003,\r\n\t\\maxRq, Pseq([\r\n\t\tPexprand(0.008,0.028,4).stutter(2),\r\n\t\tPexprand(0.008,0.228,1).stutter(1),\r\n\t],inf),\r\n\t//\\minCf, Pseq([65,75,50,55,58,60,78],inf).midicps * Pwhite(0.9,3.3),\r\n\t\\minCf, Pseq([90,94,80,150],inf) * Pexprand(1.0,4.3).stutter(3),\r\n\t\\minCf, Pseq([490,94,80,150],inf) * Pexprand(1.0,1.3),\r\n\t\\maxCf, Pkey(\\minCf) * Pwhite(1.3,1.5),\r\n\t\\amp, Pexprand(0.20,0.21) *2,\r\n\t\\atk, Pexprand(0.007,8),\r\n\t\\rel, Pwhite(0.5,3.5),\r\n\t\\sus, Pwhite(0.2,4.0),\r\n\t\\spread, Pexprand(1.5,8.0),\r\n\t\\dur, Pseq([2,1],inf)*Pwhite(0.8,2.3),\r\n\t\\dur, Pseq([1],inf),\r\n)).play\r\n);\r\n\r\n\r\n\r\n\r\nPdef(~name).stop;",
   "id" : "1-4Uq",
   "is_private" : null,
   "labels" : [
      "rhythmic",
      "relaxed",
      "code fork",
      "endless",
      "clusters",
      "reverb",
      "spatialization",
      "mellow",
      "hypnotic",
      "marimba"
   ],
   "description" : "fairies and ghosts",
   "ancestor_list" : [
      "1-4SB"
   ],
   "author" : "grirgz",
   "name" : "Re: Infinite rhythmic marimba clusters"
}
