Scientists have developed a system to identify common patterns in versions of songs, which will help to quantify the similarity of musical pieces. The technique could be applied to analyze time series of data in other fields, such as economy, biology or astronomy.