What we hear in a café where we sit, at events we attend, or simply in cool video montages. songs If we like it, we turn on our phone and to Shazam We come in and Shazam can give us that number in seconds.
The ability to do this, especially in environments with intense background noise such as cafes and events, means stopping; “How to find the song in seconds?It makes you think. Once you find the song, you can of course try the next song. Shazam Because we only look at the application when we need it, we don’t pay much attention to what’s happening in the background. But that part is more impressive.
First, let’s talk briefly about Shazam.
Our application, which reached more than 225 million users per month in 2022, has a very simple logic. When you open the app, all you have to do is tap the big logo once. Shazam then listens to the music through your microphone and visualizes what’s happening. It finds it like black magic within seconds.
Of course, let’s still move away from the traditions of the Middle Ages and choose not to call Shazam black magic. Here’s the logic behind it:
When you play music on Shazam, the sound waves from that music are converted into data that the computer can process. This way a unique wave is created for each song. fingerprint is created. This process is one simplification continues on that basis. Instead of fully considering the areas where the sound gets louder, thinner or thicker, the peaks of these events in the sound waves are taken into account. This simplicity ensures that the process takes seconds.
After understanding the basic logic, let’s move on to the practical example. Suppose you liked the song while sitting in the cafe and listening to it. You Shazam. The moment you press the logo, Shazam records the sound spectrogram It creates. In this spectrogram, which records all sounds entering the microphone within a certain time interval (max. 20 seconds for Shazam), the peaks just mentioned are created and the complexity you see above is simplified.
In the final phase, now converted into data These peaks are compared against each other and compared to other data pairs in Shazam’s vast library. If enough pairs match, Shazam will announce that it has found the number. song name and artist can give. Naturally, this process that we have described in detail can be completed in a few seconds, because it is developed by a computer.
If we look at it from this perspective, the Shazam algorithm is as simple and detailed as our breathing.
Sources: Toptal, Wall Street Journal
Follow Webtekno on Threads and don’t miss the news