How to repeat yourself (in music) and not be boring