From 8631269700b15244c93225fa8efb91c274b7a5ed Mon Sep 17 00:00:00 2001 From: Kevin Ngo Date: Fri, 12 Oct 2018 01:12:48 -0700 Subject: [PATCH] pitch up the audio a bit, but need to replace with more snare --- src/components/beat-hit-sound.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/beat-hit-sound.js b/src/components/beat-hit-sound.js index 032952a..fd92e93 100644 --- a/src/components/beat-hit-sound.js +++ b/src/components/beat-hit-sound.js @@ -45,7 +45,7 @@ AFRAME.registerComponent('beat-hit-sound', { processSound: function (audio) { // Randomize a bit. - audio.detune = (Math.random() * 1000) - 500; + audio.detune = (Math.random() * 1500); audio.playbackRate = 0.80 + (Math.random() * .20); this.currentBeatEl.object3D.getWorldPosition(audio.position); }