function startInterval(){
  clearInterval(intervalTimer);
  beatCounts = 0;
  startTime = Date.now();
  intervalTimer = setInterval(function(){
    ++beatCounts;
  }, rate)
}
// Start keeping track of central time
Start keeping track of central time
Start keeping track of central time
function startInterval(){
  clearInterval(intervalTimer);
  beatCounts = 0;
  startTime = Date.now();
  intervalTimer = setInterval(function(){
    ++beatCounts;
  }, rate)
}
function startInterval ( ) { clearInterval ( intervalTimer ) ; beatCounts = 0 ; startTime = Date . now ( ) ; intervalTimer = setInterval ( function ( ) { ++ beatCounts ; } , rate ) }
Start keeping track of central time
Start keeping track of central time