An ostinato is a repeated pattern that is repeated throughout a piece or section of music without changing. It can be a melodic or a rhythmic pattern. It is usually part of the supporting or accompanying music. You could also use the words riff and loop. The word ostinato is related to the word obstinate – it’s like a musical idea that just won’t go away!