{
   "is_private" : null,
   "id" : "1-5cS",
   "code" : "( // if you like bass wobbles\r\n\r\nSynthDef(\\wobble, {\r\n\targ out=0, wflo=1, wfhi=6, decay=0, gate=1, wfmax=8500, freq, iphase;\r\n\tvar env = Linen.kr(gate, releaseTime: 0.01, doneAction: Done.freeSelf);\r\n\tvar son = MoogVCF.ar( \r\n\t\tin: (\r\n\t\t\tPulse.ar([freq * 0.98, freq], mul:0.5) +\r\n\t\t\tPinkNoise.ar(LFNoise0.ar(2).range(0, 1.0)) +\r\n\t\t\tSaw.ar([freq, freq * 1.025], mul:2)\r\n\t\t).clip2(0.5),\r\n\t\tfco: LFCub.kr(\r\n\t\t\tfreq:LFPulse.kr(0.25, iphase, width: 0.25).range(\r\n\t\t\t\twflo, wfhi) ).exprange(40, wfmax),\r\n\t\tres: 0.4,\r\n\t\tmul:2\r\n\t);\r\n\tOut.ar(out, son * env);\r\n}).add;\r\n\r\nb = Bus.audio(s,2);\r\n\r\nSynthDef(\"delayBus\", { | outBus = 0, inBus, wet = 0.4 |\r\n\tvar input = In.ar(inBus,2);\r\n\tvar rev = Greyhole.ar(input * wet,\r\n\t\tdelayTime:0.5, feedback:0.5, diff:0.4,\r\n\t\tdamp:0.5, modDepth:0.8, modFreq:0.3);\r\n    Out.ar(outBus, input + rev);\r\n}).play(s, [\\inBus,b]);\r\n\r\nPbind(\r\n\t\\instrument, \\wobble,\r\n\t\\legato, 0.98, \\out, b,\r\n\t\\dur, 4,\r\n\t\\wflo, Prand([1,2,3],inf),\r\n\t\\wfhi, Prand([4,6,8],inf),\r\n\t\\wfmax, Pseq([4,6,3,1,9]*500,inf),\r\n\t\\iphase, Prand([0,0.25,0.5,0.75], inf),\r\n\t\\degree, Pseq([2,0,-2,-2], 8), \\octave, 3,\r\n).play;\r\n)",
   "labels" : [
      "bass",
      "filter",
      "moog"
   ],
   "description" : "couple of cycles of wobbling bass (as in 'dubstep-wobble'): Saw+Squarewave through a MoogVCF filter. synthDef is 'tempo-agnostic' and there will be problems if you change the tempo (or rather interesting results). needs improvement to be reusable.",
   "ancestor_list" : [],
   "name" : "bass wobbles",
   "author" : "Luka P."
}
