From 40197730f0478d36ce300eced47672df50fc68a8 Mon Sep 17 00:00:00 2001 From: Kevin Ngo Date: Mon, 15 Oct 2018 22:05:53 -0700 Subject: [PATCH] detune a whole octave wall --- src/components/song.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/song.js b/src/components/song.js index 6b40b1f..5d71cf1 100644 --- a/src/components/song.js +++ b/src/components/song.js @@ -132,7 +132,7 @@ AFRAME.registerComponent('song', { onWallHitStart: function () { const gain = this.audioAnalyser.gainNode.gain; gain.linearRampToValueAtTime(0.2, this.context.currentTime + 0.1); - this.source.detune.linearRampToValueAtTime(-1000, this.context.currentTime + 0.1); + this.source.detune.linearRampToValueAtTime(-1200, this.context.currentTime + 0.1); }, onWallHitEnd: function () {