Finally, an Algorithm to Sort Your Beatles Albums

By analyzing the evolving structure of the Beatles’ music, the computer program was able to correctly place the Fab Four’s albums in chronological order. Karen Hopkin reports

Illustration of a Bohr atom model spinning around the words Science Quickly with various science and medicine related icons around the text

Join Our Community of Science Lovers!


On supporting science journalism

If you're enjoying this article, consider supporting our award-winning journalism by subscribing. By purchasing a subscription you are helping to ensure the future of impactful stories about the discoveries and ideas shaping our world today.


If you’re a fan of the Beatles, you no doubt know that ["She Loves You"] came before ["All You Need Is Love"]. But what about ["Help!"] or ["Yellow Submarine"] or ["I am the Walrus"]? 

You may not know which came first, but researchers from Lawrence Technological University in Michigan created an algorithm that does. By analyzing the evolving structure of the Beatles’ music, the computer program was able to correctly place the Fab Four’s albums in chronological order. The work is in the journal Pattern Recognition Letters. [Joe George, Lior Shamir: Computer analysis of similarities between albums in popular music]


The researchers initially produced the algorithm to catalogue whale songs. [whale sound] And they figured what worked for killer whales should also work for the lads from Liverpool. 


The program converts audio data into a visual spectrogram, an image it then evaluates for texture, shape, and pattern. Based on this analysis, the algorithm could tell that ["Please Please Me"] was from the early days and ["She Came In through the Bathroom Window"] came near the end. It even correctly estimated that songs from Let It Be were recorded before those on Abbey Road, although Abbey Road was released first. 


The algorithm also worked for the albums of Queen, U2, and ABBA. But the computer came up short on Taylor Swift, whose tunes thus far are too similar to sort. But her style could still change over time. ["Time Is on My Side," by Bonnie Raitt and Irma Thomas]   


—Karen Hopkin


[The above text is a transcript of this podcast.]

It’s Time to Stand Up for Science

If you enjoyed this article, I’d like to ask for your support. Scientific American has served as an advocate for science and industry for 180 years, and right now may be the most critical moment in that two-century history.

I’ve been a Scientific American subscriber since I was 12 years old, and it helped shape the way I look at the world. SciAm always educates and delights me, and inspires a sense of awe for our vast, beautiful universe. I hope it does that for you, too.

If you subscribe to Scientific American, you help ensure that our coverage is centered on meaningful research and discovery; that we have the resources to report on the decisions that threaten labs across the U.S.; and that we support both budding and working scientists at a time when the value of science itself too often goes unrecognized.

In return, you get essential news, captivating podcasts, brilliant infographics, can't-miss newsletters, must-watch videos, challenging games, and the science world's best writing and reporting. You can even gift someone a subscription.

There has never been a more important time for us to stand up and show why science matters. I hope you’ll support us in that mission.

Thank you,

David M. Ewalt, Editor in Chief, Scientific American

Subscribe