{
   "code" : "SynthDef(\\dubecho,{|in, out, length = 1, fb = 0.8, sep = 0.012|\r\n\tvar input = In.ar(in, 2);\r\n\tvar feedback = LocalIn.ar(2);\r\n\tvar output = LeakDC.ar(feedback*fb + input);\r\n\toutput = HPF.ar(output, 400);\r\n\toutput = LPF.ar(output, 5000);\r\n\toutput = output.tanh;\r\n\tLocalOut.ar(DelayC.ar(output, 1, LFNoise2.ar(12).range([length,length+sep],[length+sep,length])).reverse);\r\n\tReplaceOut.ar(out, output);\r\n}).add;\r\n\r\n// Example as effecet bus\r\n~bus = Bus.audio(s, 2);\r\n~echo = Synth(\\dubecho, [\\in, ~bus, \\length, TempoClock.default.tempo*(3/8), \\fb, 0.7, \\sep, 0.0012], addAction: \\addToTail);\r\n\r\n// send something\r\nplay{ Out.ar(~bus, LFGauss.ar(1, 0.1, loop:0, doneAction:2) * Blip.ar(80!2, 8)) }\r\n\r\n// turn it off\r\n~echo.free;",
   "id" : "1-1P8",
   "is_private" : null,
   "labels" : [
      "dub",
      "echo",
      "spacecho",
      "feedback",
      "code fork"
   ],
   "description" : "Fork of Bjorn's Dub echo, rewritten w/o the Feedback Quark (using LocalIn + LocalOut) and adding a ping pong (can be removed by deleting the .reverse method in the LocalOut line)",
   "ancestor_list" : [
      "1-h"
   ],
   "author" : "rukano",
   "name" : "Re: Dub Echo using LocalIn + LocalOut (and Ping Pong)"
}
