diff --git a/src/index.js b/src/index.js index 3544e8a..37bf08e 100644 --- a/src/index.js +++ b/src/index.js @@ -3,7 +3,7 @@ import 'p5/lib/addons/p5.sound'; import './index.scss'; const VOLUME_NORMALIZATION = 1000; -const THRESHOLD = 10 / VOLUME_NORMALIZATION; +const THRESHOLD = 5 / VOLUME_NORMALIZATION; function getColorValue(volume) { return Math.floor(volume * VOLUME_NORMALIZATION * 256);