Rhythmic patterns of known and unknown melodies