diff --git a/src/js/HuesCore.js b/src/js/HuesCore.js index 3530069..c017c8d 100644 --- a/src/js/HuesCore.js +++ b/src/js/HuesCore.js @@ -291,7 +291,7 @@ HuesCore.prototype.animationLoop = function() { }; HuesCore.prototype.recalcBeatIndex = function() { - this.beatIndex = Math.floor(this.soundManager.clampedTime() / this.beatLength); + this.beatIndex = Math.floor(this.soundManager.currentTime() / this.beatLength); }; HuesCore.prototype.getBeatIndex = function() {