implement accent on ones switch and beats in a measure