Understanding Rhythmic Patterns