An artificial intelligence algorithm that can analyse and compare musical styles has given new insight into the musical progression of the Beatles.
Music fans and critics know that the music of the Beatles underwent a dramatic transformation in just a few years, but until now there hasn't been a scientific way to measure the progression.
But now computer scientists at Lawrence Technological University repurposed audio analysis technology designed to study the vocal communication of whales to analyse the albums of the Beatles and other well-known bands such as Queen, U2, ABBA and Tears for Fears.
The study by assistant Professor Lior Shamir and graduate student Joe George, published in the August issue of the journal Pattern Recognition Letters, demonstrates scientifically that the structure of the Beatles music changes progressively from one album to the next.
"People who are not Beatles fans normally can't tell that 'Help!' was recorded before 'Rubber Soul,' but the algorithm can," Shamir said. "This experiment demonstrates that artificial intelligence can identify the changes and progression in musical styles by 'listening' to popular music albums in a completely new way."
The algorithm works by first converting each song to a spectrogram – a visual representation of the audio content, turning an audio analysis task into an image analysis problem.
Comprehensive algorithms turn each music spectrogram into a set of almost 3,000 numeric descriptors reflecting visual aspects such as textures, shapes and the statistical distribution of the pixels, before pattern recognition and statistical methods are used to detect and quantify the similarities between different pieces of music.
LTU's study analysed 11 songs from each of the 13 Beatles studio albums released in Great Britain, and quantified the similarities between each song and all the others in the study. The results for the individual songs were then used to compare the similarities between the albums and the automatic placement of the albums by the algorithm was in agreement with the chronological order of the recording of each album.
‘Let It Be’ was the last album released by the Beatles, but the algorithm even correctly identified those songs as having been recorded earlier than the songs on the last album recorded ‘Abbey Road’.
The computer algorithm was able to deduce the chronological order of the albums of the other bands in the study by analysing the audio data alone – with one notable exception. Strong similarities were identified between two Tears for Fears albums released 15 years apart.
That makes sense because ‘Seeds of Love’, released in 1989, was the last album before the band's breakup, and ‘Everybody Loves a Happy Ending’, released in 2004, was recorded after the band reunited.
In the case of ‘Queen’, the computer not only sorted the albums by their chronological order, but also distinguished between albums before and after the album ‘Hot Space’, which represented a major shift in Queen's musical style.
In this era of big data, such algorithms can assist in searching, browsing, and organizing large music databases, as well as identifying music that matches an individual listener's musical preferences. But in the case of the Beatles, Shamir believes this type of research will also have historical significance.
"The baby boomers loved the music of the Beatles, I love the Beatles, and now my daughters and their friends love the Beatles. Their music will live on for a very long time," Shamir said. "It is worthwhile to study what makes their music so distinctive, and computer science and big data can help."
Sign up to the E&T News e-mail to get great stories like this delivered to your inbox every day.