palindrome

Applies rev to a pattern every other cycle, so that the pattern alternates between forwards and backwards.

note("c d e g").palindrome()