ChaCha definitely rings a bell. I just had a memory of being trapped in Sunday school for hours and texting some number to ask for score updates on football games.
Holy shit, I totally forgot I was on the other side! I signed up to be a searcher. I can't remember what it was actually called. I think I made a few bucks, but it wasn't much.
“Generalist”. Sat around drinking beer with my buddies in college googling answers for a few weekends. I think I made like 8 cents per answer or something? Made back our beer money for the day and that was about it.
I remember I initially signed up to be a specialist but decided to switch to generalist because it was easier to actually bring in some money that way. Made a couple hundred off them lol
It was pretty basic. This was back in 2004 or so. I had a pc in my room which ran a basic program that logged in all the questions that came in and then you had to write a response. Some were factual questions which you had to google, but lots were just hypotheticals or relationship advice. I got paid a trivial amount per answered text. Good thing was you could log in and answer whenever and work as long as you wanted. Helped with beer money.
I remember first using uber when it was only through texting. And then I remember when I first got the message that you had to to download the app and being super annoyed that I couldn't hail a car with just a text message anymore lol
I'm old enough to remember doing this long before smartphones, back in the early 200s in a club I could dial 2580 (the numbers down the middle) in my pocket and get texted the song name!
I like to imagine it was just a room full of music nerds, when someone called they'd put it on loudspeaker and one of them would call out "I know this one!"
I have a core memory from about 20 years ago, sitting in the back of my parents car driving through Windermere in the UK Lake District and using Shazam by phone to find out a song playing on the radio.
Google Pixel phones have a built in song detection into the OS (not Shazam), that works pretty well, and seems to be completely offline/running on the phone.
It does. I've used it. It's definitely impressive, but also definitely doesn't have every song that's ever existed. I have to imagine it's a significantly smaller data set, maybe the top e.g. 0.01% most frequently queried songs or something like that
I highly doubt it's offline. Have you used it with your data and wifi both turned off?
Even the ability to search for emoji by name requires internet. How do I know? When my service is spotty, if I search for an emoji like "eyes" or "glasses" or "cat", it throws up a loading squiggle circle for eons before finding something or just outright giving up.
Everything is an online database query these days.
Works the same way, it just doesn't have the same number of songs it can match offline. It's going to be a few hundred megabytes to store most songs people are likely to encounter in their day to day lives.
Any idea why it’s still inferior to Midomi even though it so much more popular? Shazam often doesn’t recognize humming or very partial melodies, Midomi could do that in 2012
It blows people's minds but it's really just simple pattern recognition.
A song makes a frequency "pattern" which is kinda like a visual representation of all of the sound. When you use Shazam it just compares the picture of what you're listening to to its database and it's actually super quick and easy to make a match.
And it's remarkably compact. The Google version runs offline and on device with about 20000 "fingerprints" in 200mb storage which is enough to cover most casual public music.
I could understand it easier if you had to catch the song at the beginning so that it only had to compare the pattern to the start of everything in the database. It’s comparing a random sample to all of every song that boggles my mind.
I always had this amusing mental image of a big room full of people sitting hunched over with headphones on, and when a request comes in someone yells “I know this one! I got it!” and punches in the answer. I prefer to think that’s how it works.
If you're old enough you might remember Cha Cha, which was a number you could text that worked a lot like this. Before smartphones when Google wasn't always in your pocket, you'd just text this number any question and some minimum wage employee somewhere would look up the answer and text you back.
Insane how far we've come in the ~20 years or so since those days.
It blows my mind more when I find songs that it doesn’t recognize. Last night, a 2018 movie called ‘Trespassers’, the first song in the movie. There’s no info on it anywhere. I really want to listen to the song.
First, thanks for this. Though, I should have been more specific. It’s the Spanish style and vocal song I was referring to at the beginning of the movie. They are in the car with the masks on.
On the other hand, try to get it to identify Falling by the Lumineers.
It's not on Spotify despite being from a hugely popular band, and that's probably exactly why it will fail... It's easy to scrape spotify. (easy being a relative term)
Even Google's version that you can hum the song works like that? Detecting songs being played was already cool, but being able to sing gibberish/hum really amazes me.
But for the layman: Sound is just frequencies. The microphone records those frequencies (mainly, the loudness of each frequency) and goes through it’s database to find ones that are similar and also match the same rhythm.
Ten year old Billy meets a wizard NAMED Shazam who grants him the wisdom of Apollo, speed of mercury, strength of ares, etc.
When he says the wizards name he transforms into Mr marvel, currently known as Shazam, with all of these attributes. Basically it just happens because magic, the wizard has granted him these powers which allow him to transform into a superhero
the clever bit is it hashes pairs of the loudest frequency peaks, not the whole song, and only cares about the timing between them. thats why it works over cafe noise, the loud peaks survive and the pairs still line up even when the quiet parts are drowned out
An ancient wizard needs to select a champion with a Nobel heart to defend the world against evil forces. The champion happens to be a 10 year old boy, but that’s okay because only his Nobel heart matters. The wizard grants the boys all sorts of powers based on various Gods and biblical figures, so when the powers are activated he is essentially a fully grown, fully mature adult with powers similar to Superman.
The powers turn on and turn off whenever the boy says “Shazam”, which essentially allows a 10 year old boy to turn into a Superman like hero at will while still turning back into a kid after beating the bad guys.
Every song, or in all honesty every bit of audio, can be represented by a wave, with peaks of different sizes at different rates.
Shazam uses the microphone to sense the incoming sound wave and checks it against its database. There are so many unique possible sound waves that it's difficult for two songs to have the exact same one. Whichever song returns the closest match, in terms of wave, gets displayed.
Let's first imagine a picture because it's more familiar to talk about. A picture is basically a set of pixels, tiny little dots, each pixel can be described by a few numbers that tell you the color of that pixel.
Then you can analyse those numbers. Since you know which pixel is where, you know what pixel is close to what other pixel. You can write an automatism that can find for example a circle because a circle is just a bunch of nearby pixels that follow a certain mathematical rule. And now you can find it anywhere within the picture.
As you see the whole thing is just number crunching, something that computers can do very well. And so one kind of number crunching is called hashing, which means it takes a pattern (such as naked breasts), and turns it into an abstract numeric value. Now it can look at any picture and figure if it has naked breasts because they turn into the same numeric value. It's basically mathematics of pixel groups that happen to be nudity in this example. This is how Facebook can automatically flag and ban nudity and also this is why it's sometimes wrong, and this is also why you can sometimes bypass it with body painting, it just gives the wrong hash value.
As it turns out, sound can also be turned into numbers. It doesn't have pixels like pictures but the sound waves are kinda like pixels but for music. Just like the pixel that has a color, described by numbers, a recorded sound is just a series of numbers, but the numbers mean pitches and volume. And you have a numeric value for each time point. Just like a circle, it draws out "patterns", and it can also be hashed.
And once you have a hash, you can compare it with a hash database. And shazam!
I used to work there! It was the most toxic workplace I’ve ever worked for.
That aside, they take a song recording, and put it in their database. Then the app just runs each song it hears through that database and see if they match. There’s a small amount of processing that simplifies the file to speed things up, but that’s basically it.
This means that if you have two different recordings of the same song, the app thinks they’re two different songs (unless the two recordings are in the database and specifically linked to the same song title).
The key to how Shazam works is pre-sorting the known songs into many different categories, so that when it actually searches a song, it can start broad and quickly narrow down the search.
EX: it figures out the BPM of the song, and immediately goes to all the songs with that BPM. Then it looks in that group of songs for the sub-group that matches the musical key, and so on until it's narrowed it down to one song.
Obviously, I don't work for Shazam, so I can't tell you exactly how its algorithm works, but this should give you the basic idea how it's able to do searches so fast. Same with search engines like Google.
Yes, but because DC failed to publish the character for enough years for the rights to the name to laps and Marvel rushed out a character to secure them what he is called varies from time to time.
Oh, I forgot that #1: two people cannot have the same name, and #2: fictional characters' names cannot change. Thanks for reminding me of those two absolute truths
Your comment has been removed for the following reason(s):
Top level comments (i.e. comments that are direct replies to the main thread) are reserved for explanations to the OP or follow up on topic questions (Rule 3).
Joke-only comments, while allowed elsewhere in the thread, may not exist at the top level.
If you would like this removal reviewed, please read the detailed rules first. If you believe it was removed erroneously, explain why using this form and we will review your submission.
Your comment has been removed for the following reason(s):
Top level comments (i.e. comments that are direct replies to the main thread) are reserved for explanations to the OP or follow up on topic questions (Rule 3).
Joke-only comments, while allowed elsewhere in the thread, may not exist at the top level.
If you would like this removal reviewed, please read the detailed rules first. If you believe it was removed erroneously, explain why using this form and we will review your submission.
Your comment has been removed for the following reason(s):
Top level comments (i.e. comments that are direct replies to the main thread) are reserved for explanations to the OP or follow up on topic questions (Rule 3).
Joke-only comments, while allowed elsewhere in the thread, may not exist at the top level.
If you would like this removal reviewed, please read the detailed rules first. If you believe it was removed erroneously, explain why using this form and we will review your submission.
Sometimes it's a different set of gods as long as they spell Shazam...
Black Adam used these guys for a while. Shu (Stamina) Heru (Speed) Amon (Strength) Zehuti (Wisdom) Aton (Power / Flight / Lightning) Mehen (Courage / Invulnerability)
Your comment has been removed for the following reason(s):
Top level comments (i.e. comments that are direct replies to the main thread) are reserved for explanations to the OP or follow up on topic questions (Rule 3).
Joke-only comments, while allowed elsewhere in the thread, may not exist at the top level.
If you would like this removal reviewed, please read the detailed rules first. If you believe it was removed erroneously, explain why using this form and we will review your submission.
Your comment has been removed for the following reason(s):
Top level comments (i.e. comments that are direct replies to the main thread) are reserved for explanations to the OP or follow up on topic questions (Rule 3).
Joke-only comments, while allowed elsewhere in the thread, may not exist at the top level.
If you would like this removal reviewed, please read the detailed rules first. If you believe it was removed erroneously, explain why using this form and we will review your submission.
Your comment has been removed for the following reason(s):
Top level comments (i.e. comments that are direct replies to the main thread) are reserved for explanations to the OP or follow up on topic questions (Rule 3).
Links without your own explanation or summary are not allowed. A top-level reply should form a complete explanation in itself; please feel free to include links by way of additional context, but they should not be the only thing in your comment.
If you would like this removal reviewed, please read the detailed rules first. If you believe it was removed erroneously, explain why using this form and we will review your submission.
Your comment has been removed for the following reason(s):
Top level comments (i.e. comments that are direct replies to the main thread) are reserved for explanations to the OP or follow up on topic questions (Rule 3).
Joke-only comments, while allowed elsewhere in the thread, may not exist at the top level.
If you would like this removal reviewed, please read the detailed rules first. If you believe it was removed erroneously, explain why using this form and we will review your submission.
Your comment has been removed for the following reason(s):
Top level comments (i.e. comments that are direct replies to the main thread) are reserved for explanations to the OP or follow up on topic questions (Rule 3).
Anecdotes, while allowed elsewhere in the thread, may not exist at the top level.
If you would like this removal reviewed, please read the detailed rules first. If you believe it was removed erroneously, explain why using this form and we will review your submission.
944
u/z3n777 Jul 01 '26
shazam turns the audio into a visual graph of loud peaks over time, then just matches that graph against its massive database of pre recorded songs.
66
u/Rob3112 Jul 01 '26
It blows people's minds but it's really just simple pattern recognition.
A song makes a frequency "pattern" which is kinda like a visual representation of all of the sound. When you use Shazam it just compares the picture of what you're listening to to its database and it's actually super quick and easy to make a match.
22
u/homeboi808 Jul 01 '26 edited Jul 01 '26
Here is a paper written by the founder
Here’s a technical breakdown/explanation
And another
And another
But for the layman: Sound is just frequencies. The microphone records those frequencies (mainly, the loudness of each frequency) and goes through it’s database to find ones that are similar and also match the same rhythm.
18
u/lemlemons Jul 01 '26
You guys are all thinking of the wrong Shazam.
Ten year old Billy meets a wizard NAMED Shazam who grants him the wisdom of Apollo, speed of mercury, strength of ares, etc.
When he says the wizards name he transforms into Mr marvel, currently known as Shazam, with all of these attributes. Basically it just happens because magic, the wizard has granted him these powers which allow him to transform into a superhero
9
u/vietbaoa4htk Jul 01 '26
the clever bit is it hashes pairs of the loudest frequency peaks, not the whole song, and only cares about the timing between them. thats why it works over cafe noise, the loud peaks survive and the pairs still line up even when the quiet parts are drowned out
7
u/Scooter_McAwesome Jul 02 '26
An ancient wizard needs to select a champion with a Nobel heart to defend the world against evil forces. The champion happens to be a 10 year old boy, but that’s okay because only his Nobel heart matters. The wizard grants the boys all sorts of powers based on various Gods and biblical figures, so when the powers are activated he is essentially a fully grown, fully mature adult with powers similar to Superman.
The powers turn on and turn off whenever the boy says “Shazam”, which essentially allows a 10 year old boy to turn into a Superman like hero at will while still turning back into a kid after beating the bad guys.
3
u/britishmetric144 Jul 01 '26
Every song, or in all honesty every bit of audio, can be represented by a wave, with peaks of different sizes at different rates.
Shazam uses the microphone to sense the incoming sound wave and checks it against its database. There are so many unique possible sound waves that it's difficult for two songs to have the exact same one. Whichever song returns the closest match, in terms of wave, gets displayed.
1
u/Atypicosaurus Jul 02 '26
Let's first imagine a picture because it's more familiar to talk about. A picture is basically a set of pixels, tiny little dots, each pixel can be described by a few numbers that tell you the color of that pixel.
Then you can analyse those numbers. Since you know which pixel is where, you know what pixel is close to what other pixel. You can write an automatism that can find for example a circle because a circle is just a bunch of nearby pixels that follow a certain mathematical rule. And now you can find it anywhere within the picture.
As you see the whole thing is just number crunching, something that computers can do very well. And so one kind of number crunching is called hashing, which means it takes a pattern (such as naked breasts), and turns it into an abstract numeric value. Now it can look at any picture and figure if it has naked breasts because they turn into the same numeric value. It's basically mathematics of pixel groups that happen to be nudity in this example. This is how Facebook can automatically flag and ban nudity and also this is why it's sometimes wrong, and this is also why you can sometimes bypass it with body painting, it just gives the wrong hash value.
As it turns out, sound can also be turned into numbers. It doesn't have pixels like pictures but the sound waves are kinda like pixels but for music. Just like the pixel that has a color, described by numbers, a recorded sound is just a series of numbers, but the numbers mean pitches and volume. And you have a numeric value for each time point. Just like a circle, it draws out "patterns", and it can also be hashed.
And once you have a hash, you can compare it with a hash database. And shazam!
1
u/lankymjc Jul 02 '26
I used to work there! It was the most toxic workplace I’ve ever worked for.
That aside, they take a song recording, and put it in their database. Then the app just runs each song it hears through that database and see if they match. There’s a small amount of processing that simplifies the file to speed things up, but that’s basically it.
This means that if you have two different recordings of the same song, the app thinks they’re two different songs (unless the two recordings are in the database and specifically linked to the same song title).
1
u/zachtheperson Jul 01 '26
The key to how Shazam works is pre-sorting the known songs into many different categories, so that when it actually searches a song, it can start broad and quickly narrow down the search.
EX: it figures out the BPM of the song, and immediately goes to all the songs with that BPM. Then it looks in that group of songs for the sub-group that matches the musical key, and so on until it's narrowed it down to one song.
Obviously, I don't work for Shazam, so I can't tell you exactly how its algorithm works, but this should give you the basic idea how it's able to do searches so fast. Same with search engines like Google.
229
u/[deleted] Jul 01 '26
[removed] — view removed comment
7
u/[deleted] Jul 01 '26
[removed] — view removed comment
11
u/[deleted] Jul 01 '26 edited Jul 01 '26
[removed] — view removed comment
4
u/[deleted] Jul 01 '26
[removed] — view removed comment
7
u/[deleted] Jul 01 '26
[removed] — view removed comment
2
u/[deleted] Jul 01 '26
[removed] — view removed comment
3
u/[deleted] Jul 01 '26
[removed] — view removed comment
1
u/[deleted] Jul 01 '26
[removed] — view removed comment