![]() The first thing you will notice is that the diagram is split up into register and recognise flows. If Shazam doesn't take the sliding approach we described above, what does it do? Take a look at the following high-level diagram: In the next section, you'll see the high-level overview of how this works. ![]() Thankfully, Shazam's approach is a lot smarter than that. The sliding method just doesn't work that well for this problem. All of these can change the shape of the audio significantly. What's worse, when you move from this toy example to samples that are recorded through a microphone you introduce background noise, frequency effects, amplitude changes and more. Now imagine that you didn't know which track this audio came from, and you had a database of 10 million songs to search. This would be a bit slow, but it would work. For example, you could slide the section of audio along the track and see if it matches at any point: Matching a section of track by sliding it If you wanted to tell whether this section of audio came from the track above, you could use a brute-force method. Now take a look at the following section of the track: The above graph shows what Chris Cornell's "Like a Stone" looks like when stored in a computer. To help give you an idea, take a look at the following audio: If you haven't done much signal processing before, it may not be obvious why this is a difficult problem to solve. ![]() If you were using a mobile phone back in 2002, you'll understand that the quality of phone calls back then made this a challenging task! Why is song recognition hard anyway? After 30 seconds, Shazam would hang up and then text you details on the song you were listening to. To identify a song, you would ring up the number and hold your phone's microphone to the music. Shazam recognising a songīefore Shazam was an app, it was a phone number. Once it identifies the song that's playing, it will display the result on screen. You open the app while music is playing, and Shazam will record a few seconds of audio which it uses to search its database. Shazam is an app that identifies songs that are playing around you.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |