# HG changeset patch # User Nicholas Jillings # Date 1463394280 -3600 # Node ID e157b2b88219c5c096c27008ed6878966be31395 # Parent 7de03d416f38ebc2d2d480a09c0426392df839b0 Fix for #13. Synchronous playback and looped playback are different things. diff -r 7de03d416f38 -r e157b2b88219 js/core.js --- a/js/core.js Mon May 16 10:48:29 2016 +0100 +++ b/js/core.js Mon May 16 11:24:40 2016 +0100 @@ -1192,6 +1192,8 @@ this.metric = new sessionMetrics(this,specification); this.loopPlayback = false; + this.synchPlayback = false; + this.pageSpecification = null; this.pageStore = null; @@ -1399,7 +1401,8 @@ } else { interfaceContext.playhead.setTimePerPixel(this.audioObjects[id]); } - if (this.loopPlayback) { + if (this.synchPlayback && this.loopPlayback) { + // Traditional looped playback var setTime = audioContext.currentTime+specification.crossFade; for (var i=0; i