{
   "code" : "p = ProxySpace.push(s.boot);\r\np.makeTempoClock;\r\n~out.play;\r\n~hh.play;\r\n\r\n(\r\nSynthDef(\"lc\", { arg out, freq, min, max, sustain=1;\r\n\tOut.kr(out, SinOsc.kr(Line.kr(freq, 0, sustain, doneAction:2)).range(min, max));\r\n}).store;\r\n\r\nSynthDef(\"who\", { arg freq, gate=1, out=0, ffreq=800;\r\n\tvar x, e, env;\r\n\tenv = Env.asr(0.1, 0.2, 0.01);\r\n\te = EnvGen.kr(env, gate, doneAction:2);\r\n\tx = Pan2.ar(Formant.ar(freq * (1+e), ffreq, 130, e), Rand(-1.0, 1.0));\r\n\tOut.ar(out, x);\r\n}).store;\r\n\r\n)\r\n\r\n~c.kr;\r\n~c.fadeTime = 0; \r\n~out = { BPF.ar(~form.ar, [300, 400]) };\r\n~f = { MouseX.kr(100, 1000, 1) * LFNoise1.kr(7, 0.1, 1) };\r\n\r\n(\r\n~c = Pbind(\r\n\t\t\\instrument, \\lc, \r\n\t\t\\freq, Pseq([1, 3, 19, 2, 45, ~f], inf), \r\n\t\t\\min, 200, \r\n\t\t\\max, 300, \r\n\t\t\\dur, 1/3\r\n\t);\r\n)\r\n\r\n\r\n(\r\n~form = Pbind(\r\n\t\t\\instrument, \\who,\r\n\t\t\\degree, Pseq(#[0, 1, 3, 0, 1s, 3], inf),\r\n\t\t\\octave, Pseq(#[3, 1, 2, 3],inf),\r\n\t\t\\ffreq, Pseq([100, ~c], inf),\r\n\t\t\\legato, Pshuf(#[1.3, 1.1, 0.2, 1.5, 0.2],inf),\r\n\t\t\\dur, Pshuf([1, 2, 1, 3, Prand([1, Pseq(#[1,1,1,1]/1)]), 2],inf) * 0.25\r\n\t);\r\n)\r\n\r\n~f = { LFSaw.kr(0.5).range(100, 1000) };\r\n\r\n(\r\n~hh = {\r\n\tPan2.ar(\r\n\t\tDecay2.ar(Impulse.ar(LFClipNoise.kr(0.5).range(4, 8), 0, 0.01), 0.005, 0.02, BPF.ar(WhiteNoise.ar(10), 16000)), \r\n\t\tToggleFF.ar(~hh.ar) * 2 - 1\r\n\t) \r\n};\r\n)\r\n\r\n\r\n\r\n\r\n************\r\n/*\r\nauthors so far:\r\n(c) jrh\r\n*/",
   "is_private" : null,
   "id" : "1-56R",
   "labels" : [
      "live coding",
      "jitlib"
   ],
   "ancestor_list" : [],
   "description" : "Migration from the old SourceForge wiki.",
   "author" : "codepool",
   "name" : "P1"
}
