From a5bc0c70dac318385a95c0bac4012138bc01342e Mon Sep 17 00:00:00 2001
From: Paul Kaplan <pkaplan@media.mit.edu>
Date: Wed, 9 Aug 2017 14:02:05 -0400
Subject: [PATCH] Update compressors

---
 src/lib/audio/effects/echo-effect.js  | 4 ++--
 src/lib/audio/effects/robot-effect.js | 5 ++---
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/lib/audio/effects/echo-effect.js b/src/lib/audio/effects/echo-effect.js
index a691da11f..3c7c06806 100644
--- a/src/lib/audio/effects/echo-effect.js
+++ b/src/lib/audio/effects/echo-effect.js
@@ -14,8 +14,8 @@ class EchoEffect {
         this.decay.gain.value = 0.3;
 
         this.compressor = this.audioContext.createDynamicsCompressor();
-        this.compressor.threshold.value = -30;
-        this.compressor.knee.value = 40;
+        this.compressor.threshold.value = -5;
+        this.compressor.knee.value = 15;
         this.compressor.ratio.value = 12;
         this.compressor.attack.value = 0;
         this.compressor.release.value = 0.25;
diff --git a/src/lib/audio/effects/robot-effect.js b/src/lib/audio/effects/robot-effect.js
index c909559e8..d530b9e6e 100644
--- a/src/lib/audio/effects/robot-effect.js
+++ b/src/lib/audio/effects/robot-effect.js
@@ -59,13 +59,12 @@ class RobotEffect {
         const vcDiode4 = createDiodeNode(this.audioContext);
 
         const compressor = this.audioContext.createDynamicsCompressor();
-        compressor.threshold.value = -35;
-        compressor.knee.value = 40;
+        compressor.threshold.value = -5;
+        compressor.knee.value = 15;
         compressor.ratio.value = 12;
         compressor.attack.value = 0;
         compressor.release.value = 0.25;
 
-
         const biquadFilter = this.audioContext.createBiquadFilter();
         biquadFilter.type = 'highpass';
         biquadFilter.frequency.value = 1000;
-- 
GitLab