How Shazam Works

Поділитися
Вставка
  • Опубліковано 23 лис 2024

КОМЕНТАРІ • 2 тис.

  • @Grove332
    @Grove332 6 років тому +319

    Recognizing whose car is pulling up into the driveway from it's noise or recognizing who's walking around house by the sound and weight of their steps. The Brain is quite amazing.

    • @muzzthegreat
      @muzzthegreat 6 років тому +10

      And then your dog does it . . .
      I used-to have a diesel, easy recognition for him; and it took him no more than two weeks to get my new car [petrol] sound down-pat.
      I used to have a Mitsubishi 4-cyl and now 20years later I can still tell you a 4G64 is coming.

    • @emreevo8
      @emreevo8 6 років тому +3

      The cat I used to feed on my street would recognize the sound of my scooter from 100 meters away.

    • @nooranik21
      @nooranik21 6 років тому +5

      My roommates used to car pool to work each day. I could tell which one was driving the car that day by how they drove up to the house.

  • @pierreuntel1970
    @pierreuntel1970 6 років тому +7647

    Plot twist: Shazam hired millions of employee sit behind the screen to recognize it

    • @vinitfirke2201
      @vinitfirke2201 6 років тому +262

      Just like Google makes its employees sit behind search engine curtain according to congressmen eh? (Don't want to bring politics but the debate between congressmen and Google CEO was too funny)

    • @pauldotdll3276
      @pauldotdll3276 6 років тому +30

      *coughts* amazon.

    • @droid16beta97
      @droid16beta97 6 років тому +32

      I'd love it. You know how sometimes you hear a stranger listen to a rather unpopular song, that you recognize and you're like "DUUDE, I know that song. Wish I could tell them, but that would be weird and awkward. I need someone to acknowledge the fact, that I recognize this song!" Well NOW THEY WILL!

    • @NicolaiWeitkemper
      @NicolaiWeitkemper 6 років тому +34

      This is what my old neighbor thinks how Google works...

    • @Garry-jj6jh
      @Garry-jj6jh 5 років тому +6

      @@NicolaiWeitkemper its really how that worked some years ago

  • @bobbobson9024
    @bobbobson9024 5 років тому +2814

    2.3 seconds? clearly they didn’t use smash mouth
    “Som....” is all it takes for most of us

  • @richardhudson4649
    @richardhudson4649 5 років тому +1163

    I don't understand a single thing in this video.
    It is still fascinating.

    • @mrdcon101
      @mrdcon101 5 років тому +10

      Richard Hudson haha i was thinking the same

    • @lagrivv
      @lagrivv 4 роки тому +53

      I was pretending to understand, until i read ur comment

    • @khazza930
      @khazza930 4 роки тому +61

      there are 2 main parts of the video:
      1. Shazam has a database of songs and their fingerprints. When you're listening to a song and ask Shazam about it, it builds the fingerprint from what it hears, and looks for its match in the database. How is the fingerprint built? That's a secret only the Shazam team know, and likely involves a lot of filters and calculations.
      2. How can Shazam search such a big database so fast? It uses this hash to build an index of all songs. So instead of comparing the fingerprint to all 20 million fingerprints in the database, it only has to compare it with maybe 100, or less. Similar to finding a book in a library. You don't go through all shelves and read all book covers. Instead you ask a computer about the book, and it tells you which shelf to look at. Only difference is that the hash does a bit more than this library computer. The hash tells you where the fingerprint would be if it existed, OR where it should go if it's being added now to the database.

    • @cun7sathome
      @cun7sathome 4 роки тому +3

      Should of gone to school then.... learn how to learn

    • @mint-o5497
      @mint-o5497 4 роки тому

      Richard Hudson reall not that hard to understand if u listen

  • @yunus6009
    @yunus6009 4 роки тому +1400

    This had always been in my recommendation

    • @yunus6009
      @yunus6009 4 роки тому +22

      Ok boomer

    • @yunus6009
      @yunus6009 4 роки тому +22

      What is a boomer

    • @yunus6009
      @yunus6009 4 роки тому +22

      Only a boomer will ask this question

    • @aduptuniform2647
      @aduptuniform2647 4 роки тому +72

      Did u just have a conversation with yourself? I am very confused

    • @yunus6009
      @yunus6009 4 роки тому +16

      Yes I had

  • @bmay8818
    @bmay8818 6 років тому +1272

    WHAT?! NO WAY!!

    • @codycast
      @codycast 6 років тому +31

      Bryce Mayall what’s funny is Shazam isn’t even that old. I remember just a few years ago (?) when it came out and I’d show it working to my friends and they were amazed.
      Crazy how fast we go to not being impressed any longer.

    • @Basieeee
      @Basieeee 6 років тому +5

      And it works really fast.

    • @toebeexyz
      @toebeexyz 6 років тому +29

      @@angelsv Someone's not had a good day, sheesh

    • @USSAnimeNCC-
      @USSAnimeNCC- 6 років тому

      Me too

    • @bmay8818
      @bmay8818 6 років тому +31

      @@angelsv Wow, that's a crappy thing to say. My kid isn't lazy, nor does she just sit around watching TV all day. Good luck in life, believing "kids these days" all suck. I'm sure there's no case where something your predecessors found amazing, you thought was just meh, 'cause you're better.

  • @Russocass
    @Russocass 6 років тому +1038

    Shazam is great, incredible. But I don't understand why soundhound isn't as recognized as shazam, it basically does the same but you can also sing the lyrics or any melody of the song, even if you do it a little out of tune it will find it. That's just mindblowing.

    • @stephenward2743
      @stephenward2743 6 років тому +140

      Well Shazam has been around for quite some time, I remember it being on my blackberry back in the day and working almost just as well. I also would imagine that Shazam has a greater pool of songs as its more well known and thus more artists are putting their tracks on the app.
      That being said I checked on the google play store and soundhound has over 100 million downloads so its hardly unrecognized.

    • @whogivesadamnforuser
      @whogivesadamnforuser 6 років тому +42

      JRussoC For me, the soundhound’s database was not nearly as diverse and immense as shazam’s was. Especially for foreign songs. It was just the circumference ,if you will, of the database that made me use shazam all the tine.

    • @RR-ir6ss
      @RR-ir6ss 6 років тому +46

      Soundhound sucks ass. It only recognizes popular songs.

    • @aravindr7166
      @aravindr7166 6 років тому +29

      What about Google assistant?

    • @prieremonte
      @prieremonte 6 років тому +19

      IMO shazam has better UI than soundhound.

  • @nightmare5479
    @nightmare5479 6 років тому +2115

    Oh my. This is jackpot. Another video about music tech. I love this channel.

    • @tylerdurden788
      @tylerdurden788 6 років тому +4

      Shazam is magic

    • @wiceorc5105
      @wiceorc5105 6 років тому +3

      They basicially created a miracle but only to realize that the app isnt very useful. You can just ask a dj what is the name of the song. Or most propably you will hear the song played again later day. And who cares about the music when theyre hunting for.. you know well sex lol.

    • @khalidabdulghani
      @khalidabdulghani 6 років тому +1

      It most certainly is

    • @rohitagarwal9174
      @rohitagarwal9174 6 років тому

      what are the other music videos please tell me

    • @nightmare5479
      @nightmare5479 6 років тому

      @@rohitagarwal9174 click on the channel and see his previous upload.

  • @priyanshurai9614
    @priyanshurai9614 4 роки тому +812

    And here I thought:
    if(song_tosearch == song_fromdatabsse)
    print(song_fromdatabase);
    else:
    print("check ur network")

  • @dannydaw59
    @dannydaw59 4 роки тому +275

    I wish I could whistle a tune that's in my head to Shazam and have it recognize it.

    • @ahmed38247
      @ahmed38247 4 роки тому +13

      i was thinking the same, like why can't i just hum the song and have it recognized.. apparently i need to have the same timbre

    • @Ivy_film
      @Ivy_film 4 роки тому +18

      @@ahmed38247 you can do that with soundhound

    • @ahmed38247
      @ahmed38247 4 роки тому +3

      @@Ivy_film oh rly? ty

    • @kubiborglar
      @kubiborglar 4 роки тому +4

      there is a website where you can tap the rhythm and it shows 10 similar songs. Worked for me every time. Also you can choose is it classical music or non-classical

    • @ThylerXD
      @ThylerXD 4 роки тому +2

      @@kubiborglar oh?? do you know what that website is called? i have this song that has been stuck in my head for months now so it might help

  • @RealEngineering
    @RealEngineering  6 років тому +1110

    Was hoping to fix the pronunciation of "timbre", as a Patreon supporter (William Leu) pointed it out. I am currently extremely sick after getting food poisoning while filming in Africa, and couldn't get a decent take to fit in. On a positive note, we got great footage and I can't wait to show you what we filmed.

    • @Haji84
      @Haji84 6 років тому +85

      Real Engineering wish you get better soon

    • @wesleysull
      @wesleysull 6 років тому +8

      This is one of your best videos yet. And that is saying something with your library!

    • @willdepue1071
      @willdepue1071 6 років тому +2

      Nationwide delivery (Zipline?) ?

    • @lcs_crr
      @lcs_crr 6 років тому +1

      Get better soon! Cannot wait

    • @RealEngineering
      @RealEngineering  6 років тому +9

      @@willdepue1071 someone has been watching my instagram stories

  • @PaperGunner722
    @PaperGunner722 6 років тому +1720

    Okay cool but why cant I just go "do dooood do do dod o do" to find that one EDM song i heard from 10 years ago and dont remember it's beat.

    • @RealEngineering
      @RealEngineering  6 років тому +478

      You actually can in Soundhound I believe

    • @tylerdurden788
      @tylerdurden788 6 років тому +146

      @@RealEngineering apparently there's an app for everything lol

    • @omkarchauhan7675
      @omkarchauhan7675 6 років тому +184

      Search result: darude sandstorm.

    • @Phenomenon4253
      @Phenomenon4253 6 років тому +79

      Probably because you don't have perfect pitch to reproduce the song notes 'thus creating an incorrect "fingerprint"

    • @riesbezemer4028
      @riesbezemer4028 6 років тому +34

      Toto - Afrika

  • @yuri0r
    @yuri0r 4 роки тому +15

    As a cs student this was very fun to watch. I paused at every bit of the video where a problem was introduced and thought a little bit about it. And was happy to see that I mostly got very close to the presented solution. :)

  • @MadMiff
    @MadMiff 3 роки тому +8

    This is a perfect example of how information should be presented on youtube. The Irish accent is just so well delivered and easy to follow combined with the visual information. There are a lot of tubers out there who should learn from this example.

    • @mariotaz
      @mariotaz 2 роки тому

      Check out Matthewmatosis and SuperEyePatchWolf lol. Exact definition of this

  • @cosmicreciever
    @cosmicreciever 5 років тому +181

    I love how he pronounces timbre 'timber' even though when it first comes up it literally has the IPA pronunciation right there.

    • @Mrbasscarrot
      @Mrbasscarrot 4 роки тому +1

      Yep!

    • @BrynTru
      @BrynTru 4 роки тому +10

      He’s working hard to remove all the frenchy’ness from English. I’ll give him points.

    • @watchingperson5357
      @watchingperson5357 4 роки тому +3

      I'm curious, did y'all learn to read/taught the existence of IPA pronunciation in school, and are you in e.g. UK, USA, NZ, Canada, Australia? I just tune out every IPA pronunciation text whenever I see it, never even heard/realised its importance/ prevalence until recently when I saw an overseas relative use it.

    • @bamsuth9650
      @bamsuth9650 3 роки тому

      @@watchingperson5357 yep i do

    • @ronnyxas
      @ronnyxas 3 роки тому

      @@BrynTru what frenchy’ness ?

  • @Flint404
    @Flint404 6 років тому +3787

    This episode is brought to you by UA-cam forcibly shoving it into your recommendations.

    • @hybby
      @hybby 6 років тому +206

      Good job UA-cam. Education over entertainment.

    • @Alex_-oc4bt
      @Alex_-oc4bt 6 років тому +34

      @@hybby good job UA-cam, subtle advertising over entertainment.

    • @adeepta9344
      @adeepta9344 6 років тому +8

      That's why I love UA-cam...

    • @dragonballZbigBang
      @dragonballZbigBang 6 років тому +2

      What a joke of a video. Pretty sure Shazam doesn't use hashtable. Wish I could block channels on UA-cam

    • @ShonHarito2
      @ShonHarito2 6 років тому +23

      @@dragonballZbigBang why u so sure?

  • @kinangeagle133
    @kinangeagle133 4 роки тому +16

    Nothing beats searching the lyrics and seeing a song with a title far from what you searched, then you learned 3 months later that that was the song you were looking for

  • @FactiriosityYT
    @FactiriosityYT 4 роки тому +136

    How UA-cam Works:
    It recommends good videos 2 years later.

  • @maximiliansirzen6340
    @maximiliansirzen6340 4 роки тому +3

    I’m really blown out by the fact that it recognizes classical pieces if you yourself play them in a normal way! I tried that in a few pieces like Chopin and it works!

  • @kezzu5849
    @kezzu5849 5 років тому +4

    I've been watching your channel for years, but as a developer this is definitely the most intriguing video I've seen on your channel. Bravo 👏🏿

  • @FutureNow
    @FutureNow 6 років тому +358

    Okay, but how does ShamWow work?

    • @RealEngineering
      @RealEngineering  6 років тому +130

      Some questions are best left unanswered

    • @FutureNow
      @FutureNow 6 років тому +19

      @@RealEngineering The world will never know.

    • @willdepue1071
      @willdepue1071 6 років тому +5

      Black magic

    • @volvo09
      @volvo09 6 років тому +12

      It has me saying "WOW!" every time I use it.

    • @Red-Magic
      @Red-Magic 6 років тому

      www.shamwow.com/SHMWOW/6.0000/Index.dtm?otsid=9912

  • @oreolamp5676
    @oreolamp5676 6 років тому +1792

    How is Rick Astley’s ”Never gonna give you up” NOT the most recodnizable song of all time?

    • @CrazyFunnyCats
      @CrazyFunnyCats 6 років тому +20

      Oreo Lamp 😹and Vanilla Ice ice baby ! 😷💩

    • @b2spirit35
      @b2spirit35 6 років тому +48

      Or megalovania

    • @criticalhard
      @criticalhard 6 років тому +21

      or stfu with that dead joke.

    • @SuryaTejaKarra
      @SuryaTejaKarra 6 років тому +44

      or We Will Rock You by Queen?

    • @pepkin88
      @pepkin88 6 років тому +78

      @@CrazyFunnyCats No, because Ice Ice Baby is too similar to Under Pressure by Queen.

  • @mrwhite6529
    @mrwhite6529 5 років тому +80

    Damn These UA-cam guys know everything

  • @RaquelFoster
    @RaquelFoster 4 роки тому +3

    As a software developer I think it’s pretty awesome to see an amped-up dumbed-down video about the Fast Fourier Transform and hash functions. When people ask me how something works, this is the part where I notice they’re wishing they didn’t ask me.

  • @NevinWilliams71
    @NevinWilliams71 6 років тому +37

    When I first got my iPad, quite a few years ago, now, I was curious about Shazam, and how much data it was sending back to its servers to identify a song. I set up a packet sniffer on my wifi network, and monitored just the amount of traffic to and from my iPad while using the Shazam app.
    I just tried it again; it's more difficult to discern exactly what traffic is Shazam, and what traffic is part of the exchange to bring up album info and other tie-ins, however, from the time I pressed the Shazam button to getting a response, my computer sent a total of 1176 bytes of data out. If that was pure audio data,, would only contain an audio sample of a small fraction of a second; certainly not enough to provide any clue as to the music that was playing.
    The video explained nicely how such a small amount of data could possibly match a record in Shazam's database.
    Thanks!

    • @vishalshete5820
      @vishalshete5820 4 роки тому +3

      Means so mutch computation done on our local device to reduce data.
      I mean classification of data.
      From my student of data scientist perspective

    • @tech-hilfeportal6611
      @tech-hilfeportal6611 4 роки тому

      Why are we such nerds (yes I am a nerd)

  • @aido179
    @aido179 6 років тому +184

    Delighted to have played a part in this.

    • @aido179
      @aido179 6 років тому +16

      @@dosmastrify Co-Writer: Aidan Breen

    • @hwinangkoso
      @hwinangkoso 6 років тому

      Aidan Breen lol

  • @evaristegalois6282
    @evaristegalois6282 6 років тому +271

    You should make an episode on how to engineer a good *UA-cam Rewind* because we're in short supply of those

    • @drazgul9403
      @drazgul9403 6 років тому +3

      Would be great for April fools day

    • @gwinyaiejchipunza7168
      @gwinyaiejchipunza7168 6 років тому +1

      ua-cam.com/video/xaYAItb0v68/v-deo.html best review yet.

    • @USSAnimeNCC-
      @USSAnimeNCC- 6 років тому

      Glad I haven't seen it

    • @Red-Magic
      @Red-Magic 6 років тому

      I don't get why people care about those. I'd rather watch videos I know I'll like, thank you very much.

    • @halasimov1362
      @halasimov1362 6 років тому

      Step 1: Start with a new platform!

  • @Onionbagel
    @Onionbagel 6 років тому +94

    Short Explanation: Shazam is the acronym of six immortal Gods, (Solomon, Hercules, Atlas, Zeus, Achilles and Mercury). Just shout "Shazam" out in public and a bolt of lighting will strike you, granting you the power of superhuman strength, speed and agility, and the ability to fly. Also, it's all magic based, even Superman struggles against it.

    • @josefmuller6070
      @josefmuller6070 6 років тому +5

      >Achilles
      >Immortal
      He died when he got a sepsis from getting an arrow into the back of his foot. What a loser.

  • @magillanz
    @magillanz 4 роки тому +1

    what gets me is how Shazam gets the right version of a song not just the song. Many songs have been covered many times but it always comes up with the right version.

    • @tranarchist6335
      @tranarchist6335 4 роки тому +1

      Usually yes, but sometimes it completely screws up and thinks it's some random remix of the song

  • @8BitHate
    @8BitHate 4 роки тому +6

    I love how causally you explain modulo operation in such a simple way 😂🤣

  • @BeachLookingGuy
    @BeachLookingGuy 6 років тому +264

    It's easy... Darude - Sand Storm

    • @gregorwellard349
      @gregorwellard349 6 років тому +5

      No one wants that shit anymore 🤧😪

    • @BeachLookingGuy
      @BeachLookingGuy 6 років тому +12

      C'mon, somebody had to say it 😂

    • @imreerdos2372
      @imreerdos2372 6 років тому +12

      Old but gold 😄

    • @kawaiisana3912
      @kawaiisana3912 5 років тому

      Swedish House Mafia - Greyhound.
      *The best edm ever made*

    • @grimblegrumble
      @grimblegrumble 4 роки тому +10

      That would be a brilliant Shazam april fools joke; every search comes back as 'Darude - Sandstorm'.

  • @moboxgraphics
    @moboxgraphics 6 років тому +11

    I can't wait to buy the book, "The Motion Toolbox". Gotta get through "Three days in Eli" first

  • @marcooosbibendorsht1334
    @marcooosbibendorsht1334 6 років тому +431

    This isn't an airplane

  • @dem4xed
    @dem4xed 5 років тому +5

    I was asking this myself many times, but never really researched it. Thank you so much ☺️

  • @mtbrain1
    @mtbrain1 4 роки тому +43

    OK then how does SoundHound work because with that you can even hum or get the words wrong

    • @Pulkit__7
      @Pulkit__7 4 роки тому +6

      Intersting, maybe some different approach

  • @andresluukas1922
    @andresluukas1922 6 років тому +293

    >Puts IPA of "timbre" on screen
    >Still says "timber"

    • @yuvs0
      @yuvs0 6 років тому +31

      made me want to burn my ears :/

    • @HyperDash
      @HyperDash 6 років тому +19

      Came here to comment this.

    • @joeljames2829
      @joeljames2829 6 років тому +2

      @Andres Luukas ,
      Real Engineering already commented for the reason behind it.

    • @joeljames2829
      @joeljames2829 6 років тому

      @@HyperDash funny how you don't see his comment, when you scroll down the comment section

    • @HyperDash
      @HyperDash 6 років тому +1

      @@joeljames2829 I saw that after I made my comment. My apologies.

  • @adityabanerjee_1899
    @adityabanerjee_1899 6 років тому +33

    The animations are on spot, great great work on the animation guys
    Brilliant.

  • @danward1070
    @danward1070 6 років тому +203

    *not sponsored by Shazam*

  • @houssemhammami7816
    @houssemhammami7816 6 років тому

    I swear 3 days ago or so i was thinking of how shazam works but i forgot to search on it on youtube and now randomly your video popped up on my recommendation list , I subscribed immediately

  • @danielmccarville225
    @danielmccarville225 5 років тому

    If there was an award for best UA-cam channel, it would go to “real engineering.“Fascinating, interesting and easy to understand.

  • @162manoj
    @162manoj 6 років тому +13

    As a new computer engineer, the way the solved this problem blows my mind! I always wondered how song recognition apps work so freaking fast. Thanks!

    • @FilterChain
      @FilterChain 6 років тому

      you will learn indexing sometime soon if you do SQL and stored procedures

    • @ladislaskrstic8328
      @ladislaskrstic8328 6 років тому

      I use shazam a lot. And it is indeed so freakin fast. Like, shazaaaam! And there you go

    • @thatunnamedredshirt
      @thatunnamedredshirt 6 років тому

      Really? I just spent most of the time triggered over his explaination of hashes.

    • @cornelmasson4610
      @cornelmasson4610 5 років тому

      It's not just the algorithm, there's also an enormous amount of computing power behind it, massive clusters of servers searching in parallel.

  • @wunder1385
    @wunder1385 6 років тому +155

    Real Software? Engineering

    • @oilybrakes
      @oilybrakes 6 років тому +1

      Well, I leaned most of his explanations during my studies of electrical engineering.

    • @nicky_tdbp5353
      @nicky_tdbp5353 6 років тому +22

      Hotel?
      Trivago

    • @tormenmashi_
      @tormenmashi_ 6 років тому +1

      @@nicky_tdbp5353 damm you beat me

    • @Sephirot120
      @Sephirot120 4 роки тому

      @@oilybrakes That's because hes only talking about the design of the solutions in the video, not a single line of the code is shown in the video, but programming this solution is another complex challenge itself, that's where Software Engineering comes into play

  • @napynap
    @napynap 4 роки тому +5

    I've always thought the tech that Shazam uses is the most amazing thing on my phone. Now I know why. Thank you for the video!

  • @Abitibidoug
    @Abitibidoug 4 роки тому +1

    Wow, that's a very good explanation. I've always wondered how this program works since starting to use it almost 3 years ago. With my electrical and electronics background, I had no trouble understanding the 3D spectogram and the simplified fingerprint. So far so good. It got harder to understand with the hash functions (no, not the kind you smoke) but it's obvious by now it's looking for certain patterns in any song. It's another example of using fancy high tech algorithms to simplify data like those used used to compress audio or video. I'm absolutely amazed that there are people smart enough to figure these algorithms out and how to make them work!

  • @kwstakis10100
    @kwstakis10100 6 років тому

    INCREDIBLE video...As a computer science engineering student, some point i thought about how this could work but i never looked for it..And now youtube recomended it..You earned a subscribe..(My thoughts about how it could work were close)

  • @awabqureshi814
    @awabqureshi814 6 років тому +36

    Huh, always wondered. Thanks!

  • @AllPileup
    @AllPileup 6 років тому +261

    At first I think of that DC hero...damnit

    • @RealEngineering
      @RealEngineering  6 років тому +55

      Not gonna lie, I am hoping that I get a high SEO ranking for Shazam and get some views that way.

    • @shibnathroy106
      @shibnathroy106 6 років тому +5

      @@RealEngineering you are very honest. Good

    • @rowan-paul
      @rowan-paul 6 років тому +1

      @@RealEngineering should've changed the Shazam logo to Shazam in thumbnail

    • @salabhsg
      @salabhsg 6 років тому +1

      @@RealEngineering You weren't wrong. You got my attention.

    • @purab1552
      @purab1552 6 років тому

      😂😂

  • @ZachBillings
    @ZachBillings 6 років тому +25

    I have wanted to know for so long how Shazam works. I've been using it since the days when you dialed a number to use it on a flip phone.

    • @TeslaHaxz
      @TeslaHaxz 6 років тому

      God, i feel old now

    • @volvo09
      @volvo09 6 років тому

      Holy shit, that's cool! (i haven't used it, surprisingly) I never looked into it, thought it was an advertising dump or something, just from seeing those commercials where you can check out a "funny" advert in shazam..... Those caused me to not look into it.

    • @ZachBillings
      @ZachBillings 6 років тому +3

      @@volvo09 No it's a great app. I've never been great at remembering song names or even artists, so when I hear something I like or recognize that I want to find later, I Shazam it.

    • @volvo09
      @volvo09 6 років тому

      @@ZachBillings awesome, thanks! I stink at remembering songs too, so I'm going to download it now.

    • @andyrharris
      @andyrharris 6 років тому +2

      And it cost 50p per phone call, imagine most people being willing to spend 50p on an app these days, let alone a phone call!

  • @melchiortod29
    @melchiortod29 4 роки тому +1

    When mentioned hash, it blew my mind. I'd never have expected to find hash over here! That's crazy! They are geniusses these guys!

  • @moracamposricardouriel3172
    @moracamposricardouriel3172 3 роки тому

    My god! I spent almost a week trying to find the relationship between hash tables and the Shazam algorithm and I' couldn't until this video. Thank you so much, I appreciate it.

  • @jackhu7967
    @jackhu7967 4 роки тому +7

    the “two” objectives of a hash function you mentioned here are both literally the same thing. Evenly distributing hashes is the same thing as minimizing collisions. Something you didn’t mention explicitly (even if it’s relatively obvious) is that hash functions will always return the same output given the same input, which is the most important factor that makes them useful.

  • @alptklu
    @alptklu 5 років тому +50

    How Shazam Works
    until minute 4: history of humankind

    • @edulira
      @edulira 4 роки тому

      Glad someone said it xD

    • @yopo654
      @yopo654 4 роки тому +1

      Gotta hit that 10 min mark

  • @ANTH0NY.VII.
    @ANTH0NY.VII. 5 років тому +23

    Thing is, Shazam still struggles when listening to my music (edm) so I have to try it like around 5 times before it actually gives me a match.

    • @IntenseVLT
      @IntenseVLT 4 роки тому +3

      Maybe you’re helping it learn?

    • @xCarbonBlack
      @xCarbonBlack 4 роки тому

      @@IntenseVLT you have to record a particular frequency, synth or sound on EDM songs to find it instantly

    • @vivekjain1667
      @vivekjain1667 4 роки тому +1

      Try google instead. Open your assistant and ask it, "What's this song"?

    • @kissindzerkiss
      @kissindzerkiss 4 роки тому +1

      @@vivekjain1667 exactly

  • @gustavosaliola
    @gustavosaliola 6 років тому

    At aprox. 8.42 my mind just melted. For that reason, here goes my Global Hug for all the programmers in the world.
    Excelent video. Was the answer to a chat with friends some time ago.

  • @Onetwistyboi
    @Onetwistyboi 5 років тому +2

    Wow.. I always figured they matched soundwaves to a database, but there's so much more to that. Amazing video

  • @A2ZStudioPrague
    @A2ZStudioPrague 4 роки тому +6

    Wow, this video actually does explain it quite understandably!

  • @azzaisin
    @azzaisin 6 років тому +49

    Why can nobody pronounce timbre.

    • @Zeekmeister101
      @Zeekmeister101 6 років тому +9

      Probably because oh how it's spelled. Idk tho, seems like a likely reason

    • @ladislaskrstic8328
      @ladislaskrstic8328 6 років тому +4

      Is it tim-bre, tim-bræ, tim-brá, or tim-ber?

    • @aravindr7166
      @aravindr7166 6 років тому +6

      It's tam-ber right

    • @ZuluGod1
      @ZuluGod1 6 років тому +6

      It even had the pronunciation in the screenshot of the definition. It killed me.

    • @cabooseplaysgames2072
      @cabooseplaysgames2072 5 років тому

      it should be said as "Tamber". Gotta love musical terms!

  • @oldred9122
    @oldred9122 6 років тому +23

    There's a whole episode of Married with Children about Al Bundy trying to figure out the name of a song he heard. How did people survive back then?!

  • @reddragon7408
    @reddragon7408 6 років тому +1

    I usually share this kind of videos so people can learn about cool stuff and also support this channel that had taught me a lot.

  • @DQHW
    @DQHW 6 років тому +1

    Amazing how complex it is, yet how fast the app manages to do it.

  • @user-lynKx
    @user-lynKx 5 років тому +15

    When I press that button, all I do is hope that the artist put their song on Spotify.

  • @benitollan
    @benitollan 6 років тому +52

    What a coincidence I was just wondering about this yesterday

    • @Halzion_
      @Halzion_ 6 років тому +1

      Lol me too

    • @ezioauditore5616
      @ezioauditore5616 6 років тому +1

      I always wonder about this everytime i see my shazam app

    • @benitollan
      @benitollan 6 років тому +1

      @@ezioauditore5616 I knew hashes had to have something to do with it, but I wondered how it was possible to create viable hashes out of sounds that in real life are influenced by a lot of factors (ambient noise, remixes, different sound systems with different sound signatures, different smartphone microphones, etc)

    • @jeelanhusain1440
      @jeelanhusain1440 6 років тому

      I was wondering about this all my life

    • @mc_lovin363
      @mc_lovin363 5 років тому

      Benito Llan Matos I wondered the same thing too

  • @0xssff
    @0xssff 4 роки тому +57

    -"How Shazam Works?"
    -SHAZZAAAM! That's how it works..

  • @niccolowalrond6189
    @niccolowalrond6189 6 років тому +1

    Two things, this video was very well done and explained well and that was the best sponsor spot and segway I have every seen.

  • @colinpovey9560
    @colinpovey9560 5 років тому

    I learned to program computers back in the 1970's. I consider Shazam the most amazing piece of software I have ever seen. It's speed and accuracy astound me every time I use it.

  • @benitollan
    @benitollan 6 років тому +15

    0:07 Introduction: Opening, scene in a pub listening to a song and opening the shazam app.

  • @fa.h.
    @fa.h. 6 років тому +4

    I don't use Shazam, I just use Google Voice/assistant whatever it's called now. When it detects music you just press the note button and then it does it's thing

    • @aravindr7166
      @aravindr7166 6 років тому

      Google Assistant does the job

  • @averysmith9462
    @averysmith9462 4 роки тому +5

    This video is so interesting. Also just so y’all know, timbre is pronounced like tamber

  • @Dave-ct1jk
    @Dave-ct1jk 5 років тому

    This was your best transition to your sponser yet. Good job

  • @besknighter
    @besknighter 6 років тому

    Up until building the fingerprint I could figure out, but the clever way of using the fingerprints and plugging it as input to a hash function? That caught me off guard and makes so much sense!

  • @Fungamerplays
    @Fungamerplays 4 роки тому +3

    0:13 i think you left some of your personal notes in the script for the subtitles

  • @keco185
    @keco185 6 років тому +16

    How is an anchor point reliably determined? That’s the part I never got. How can the phone ensure that the first point it uses is the first point in song snippet stored in a db

    • @RealEngineering
      @RealEngineering  6 років тому +12

      That is explained in the "coding geek" reference in the description. It was a bit of a long winded and boring explanation, so I left it out of the video.

    • @HamzaKhan-us1cd
      @HamzaKhan-us1cd 6 років тому +4

      I'm a 2nd year software engineering student and I didn't understood shit in this video... Now I'm depressed by thinking what I'm gonna do with my future xD

    • @mikosoft
      @mikosoft 6 років тому +2

      This is just a basic concept. I'm pretty sure there's more going on to make sure the pattern is recognized.

    • @keco185
      @keco185 6 років тому

      Hamza Khan a lot of this stuff will be taught in transforms. CE/EE students need to learn it, it’s possible software engineering students don’t

    • @rujotheone
      @rujotheone 6 років тому

      Shazam most likely uses DSP algorithms along with the explained hashing.

  • @JerryC25
    @JerryC25 6 років тому +16

    1:53 you didn’t give us any time to answer! Lol

    • @kirasmith1147
      @kirasmith1147 6 років тому +5

      That was the point, people were able to recognise the song and press stop within the time we heard the song.

  • @martinskesteris6331
    @martinskesteris6331 5 років тому +1

    OMG this is so complicated. It's incredible how people created this stuff and all the electronic miracles we now have... Beyond my comprehension.

  • @ranisinha8301
    @ranisinha8301 4 роки тому

    I'm a computer engineer aspirant and your video really increased my desire to become one

  • @race5586
    @race5586 6 років тому +84

    Tripaloski
    Tripaloski
    Tripaloski
    Tripaloski

  • @BobMcCoy
    @BobMcCoy 6 років тому +35

    *_UA-cam Music wants to know your location_*

  • @metrabyte03
    @metrabyte03 5 років тому +9

    “Timber” 🌲it’s pronounced “tAmber”

  • @blank001
    @blank001 4 роки тому +2

    The one who made shazam is highly underrated.

  • @benzigarjs8607
    @benzigarjs8607 4 роки тому

    As A programmer and a musician,
    I loved this video, ,, 😍😍

  • @Knight_Astolfo
    @Knight_Astolfo 6 років тому +6

    How big is your library that they have a shelf for each book? Does each shelf have a librarian? Can I apply for that job? I can sleep under my desk and shave in the bathroom!

    • @Knight_Astolfo
      @Knight_Astolfo 6 років тому +2

      @K.D.P. Ross Let me introduce you to something called 'humor' ...

    • @Knight_Astolfo
      @Knight_Astolfo 6 років тому

      @K.D.P. Ross Hey dude. I know you're trying to be smart. You're very smart and we're all proud of you. *applause*

    • @Knight_Astolfo
      @Knight_Astolfo 6 років тому

      @K.D.P. Ross Bored, huh? Can't help you. Analytics don't agree with your opinions. I'm sorry you didn't like my dumb joke. Nothing I can do about that. All I really can do is laugh at you. You're way funnier than I'll ever be. Jajajajajajaja.

  • @Joostinonline
    @Joostinonline 6 років тому +9

    3:30 "It's a treaty graph."

  • @swayingGrass
    @swayingGrass 6 років тому +19

    How does youtube copyright Tower of Sauron find that very faint background song?

    • @TheRadiastral
      @TheRadiastral 6 років тому +5

      A while ago, I was trying to upload footage, where I talk in my car, while driving. Stereo was on, but quietly, as I was talking to the camera, so wanted to make sure I can be clearly heard. Yet my vid got copyright claim, because of some song, that just happened to be on the Radio. Crazy.

  • @Phippe
    @Phippe 6 років тому

    Had this question for so long, but never bothered to search for an answer. Great video, keep it up!

  • @o9arceneaux
    @o9arceneaux 5 років тому

    I really love that you used not one, not two, BUT THREE OOYY SOUNDTRACKS in this video 👍

  • @EtsuMatsuya
    @EtsuMatsuya 6 років тому +6

    For some reason, I thought it was EMF - Unbelievable. ... I guess I have failed as a human. Maybe the Machines should take over.

    • @luismg2130
      @luismg2130 6 років тому

      It just means we're older, mate. Machines will take over, don' worry.

  • @goobot829
    @goobot829 4 роки тому +9

    1:51
    Well, RIP your monetization

  • @wasilur6492
    @wasilur6492 4 роки тому +9

    I remember the song "you suffer" made by napalm death.

  • @moderatelyseriousracoon2254
    @moderatelyseriousracoon2254 4 роки тому +1

    Shazam should add a feature that recognises songs from rhythm eg if you forget a song and curious to try and Rembrandt what it is you can hum the rhythm and Shazam shows you the song this would be extremely helpful.

  • @wfdy8333
    @wfdy8333 5 років тому +1

    Shazam is a wonderful innovation that made my life easier, upgraded.

  • @trevorscheidt3483
    @trevorscheidt3483 4 роки тому +6

    “How Shazam works”
    It has never worked for me which is why I clicked on this video

  • @shahzadjalil
    @shahzadjalil 5 років тому +5

    sony's TrackID app used to do the same trick almost over a decade ago.

    • @s1d3k1ckRO
      @s1d3k1ckRO 5 років тому +1

      Was going to Google that. Forgot the name.

  • @katya_lysenko
    @katya_lysenko 5 років тому +3

    Hope you have a great day ! ❤️

  • @schonkat1982
    @schonkat1982 Рік тому +1

    How UA-cam algorithm works: 4 years later I get the recommendation for a great video

  • @TheSteveSteele
    @TheSteveSteele 3 роки тому

    Human memory also relies on emotion and abstract relationships. A program relying on an FFT is not AI. But with fingerprinting, and the probability that people using the service don’t know how to stress an algorithm, then Fourier analysis is a very good component to acoustic pattern recognition.

  • @deneth3310
    @deneth3310 6 років тому +6

    Doesn’t the pixel already do that built into the os

    • @R111-q2v
      @R111-q2v 6 років тому +1

      Evil Gummy Bear yes

    • @RealEngineering
      @RealEngineering  6 років тому +13

      Yeap, but I don't particularly want to give google permission to actively monitor my microphone

    • @deneth3310
      @deneth3310 6 років тому +2

      Real Engineering oh, I was just wondering since it looked like you had a pixel 2, i think?

    • @nantzstein3311
      @nantzstein3311 6 років тому

      @@deneth3310 .

    • @SuperSiggiboy
      @SuperSiggiboy 6 років тому +1

      Yes, but the Shazam app launched in 2008, ten years ago. It wasn't as great as today at first, but I remember it being brilliant when I first tested it around 2010

  • @x_tomasu_x5452
    @x_tomasu_x5452 4 роки тому +10

    Plot twist:
    its a guy in a closet who was forced to learn every song

  • @atlas7309
    @atlas7309 4 роки тому +6

    2:46 Oh. Just like wood...

  • @jokerzone891
    @jokerzone891 5 років тому

    One of the best general explanations of a hash table

  • @shakya00
    @shakya00 5 років тому

    This channel is gold, quality and vulgarization of high level !