diff --git a/public/src/js/parsetja.js b/public/src/js/parsetja.js index 5d390ce..1874c82 100644 --- a/public/src/js/parsetja.js +++ b/public/src/js/parsetja.js @@ -149,6 +149,7 @@ for(var measureMs = ms - msPerMeasure; measureMs > 0; measureMs -= msPerMeasure){ this.measures.push({ ms: measureMs, + originalMS: ms, speed: speed }) } @@ -167,6 +168,7 @@ note.start = ms if(note.endDrumroll){ note.endDrumroll.endTime = ms + note.endDrumroll.originalEndTime = ms } var msPerMeasure = 60000 * measure / note.bpm ms += msPerMeasure / currentMeasure.length @@ -345,6 +347,7 @@ pushMeasure() if(lastDrumroll){ lastDrumroll.endTime = ms + lastDrumroll.originalEndTime = ms } return circles