Added specified-duration rests and 2, 3, 4th beat alignment