From 63bce969c181689ce88951b340229ef9b3231b26 Mon Sep 17 00:00:00 2001 From: Yotam Mann Date: Sat, 23 Aug 2014 14:22:51 -0400 Subject: [PATCH] effects default to 100% wet --- Tone/effect/Effect.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tone/effect/Effect.js b/Tone/effect/Effect.js index 4f717345..ba0dd804 100644 --- a/Tone/effect/Effect.js +++ b/Tone/effect/Effect.js @@ -7,8 +7,8 @@ define(["Tone/core/Tone", "Tone/component/DryWet"], function(Tone){ * * @constructor * @extends {Tone} - * @param {number=} initalDry the starting dry value - * defaults to 0.5 (50% dry / 50% wet) + * @param {number=} [initalDry=0] the starting dry value + * defaults to 100% wet */ Tone.Effect = function(initialDry){ Tone.call(this); @@ -40,7 +40,7 @@ define(["Tone/core/Tone", "Tone/component/DryWet"], function(Tone){ this.effectReturn.connect(this.dryWet.wet); this.dryWet.connect(this.output); //setup values - this.setDry(this.defaultArg(initialDry, 0.5)); + this.setDry(this.defaultArg(initialDry, 0)); }; Tone.extend(Tone.Effect);