-Added sync: resets the beat and bar