# HG changeset patch # User Nicholas Jillings # Date 1437642638 -3600 # Node ID d0870902d0a6e5bd9f9c662a7a8617eb3ecfe865 # Parent 54c1fb5ca218ec1b44c410ea2cb5878cc13a8b05 Feature #1287: Padding added when looping is enabled to give synchronised looping. diff -r 54c1fb5ca218 -r d0870902d0a6 core.js --- a/core.js Thu Jul 23 09:51:26 2015 +0100 +++ b/core.js Thu Jul 23 10:10:38 2015 +0100 @@ -807,6 +807,45 @@ return ready; }; + this.setSynchronousLoop = function() { + // Pads the signals so they are all exactly the same length + if (this.audioObjectsReady) + { + var length = 0; + var lens = []; + var maxId; + for (var i=0; i40 - + Example Test Question Min