inSync = true; image_speed = 0; beat = 0; beatPrev = 0;