
The next step was to automate the creation of an appropriately-named Spotify playlist, which is easily done with the Spotipymodule. “Diamonds Are Forever” features twice due to the album containing the original version of “ Diamonds From Sierra Leone,” which samples the Bassey track and was the lead single from the album, and a remix that features Kanye’s mentor, Jay-Z. West,” and “ Heard ’Em Say,” are brilliantly linked together by samples of this gorgeous Natalie Cole track with the former sampling the introductory piano part as is, and the latter employing a section of the same piano part on loop as the basis for its beat. The first two tracks on Late Registration, “ Wake Up Mr. Though it may appear that the scraper made some errors given that there are duplicate tracks in the dataframes, this is actually evidence that the scraper is working. I’ll refer to these two dataframes as sample_data and titles, respectively, going forward. Sample Data from Annotations (Screenshot by Author) As mentioned before, Genius has great crowdsourced data for the samples on each song, so it was just a matter of gathering the links for the pages of each song on the album, looping through them, and scraping the sample information from each: The first step was generating a list of the samples from Late Registration. Below, I will demonstrate how the script works using Late Registration as an example, but if you want to jump straight into the code, you can find it on my GitHub. This, predictably, grew cumbersome after a while, so I wrote a script to automate the process. I began by searching the songs on Genius, finding the names of the samples and manually adding them to a Spotify playlist. Having listened through Late Registration countless times, I wanted to dive deeper into the music and explore the influences that West and co-producer Jon Brion rendered literal via sampling. Late Registration is filled with great samples from the aforementioned Heron track to Shirley Bassey’s classic “ Diamonds Are Forever,” which served as a theme song to the Bond movie of the same name. A great example is Kanye West’s “ My Way Home” off of his 2005 album Late Registration, which samples Gil Scott-Heron’s “ Home Is Where The Hatred Is” from his 1971 album, Pieces of a Man. Sampling in music, for the uninitiated, is the act of repurposing a piece of an existing song as part of a new song. Trade in for-loops and random samples for drum loops and soul samples IntroductionĪs an avid hip-hop fan, I have always been extremely interested in sampling.
