Skip to content

Commit

Permalink
YEAH! Adding leak-dc to remove the DC bias on the pluck ugen makes it…
Browse files Browse the repository at this point in the history
… so that the guitar works with distortion. Woo-hoo!
  • Loading branch information
rogerallen committed Oct 22, 2012
1 parent b18fe43 commit 97a91d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/explore_overtone/guitar.clj
Expand Up @@ -80,7 +80,7 @@
nze (* noise-amp (pink-noise))
dly (/ 1.0 frq)
plk (pluck nze gate (/ 1.0 8.0) dly decay coef)
snd (* plk (env-gen (asr 0.0001 1 0.1) :gate gate ))]
snd (leak-dc (* plk (env-gen (asr 0.0001 1 0.1) :gate gate )) 0.995)]
(out out-bus snd)))

;; the "amp" in the guitar that mixes the strings together
Expand Down

0 comments on commit 97a91d7

Please sign in to comment.