How Shazam Works

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ธ.ค. 2018
  • Be one of the first 73 people to sign up with this link and get 20% off your subscription with Brilliant.org! brilliant.org/realengineering/
    New vlog channel: / @brianmcmanus
    Patreon:
    www.patreon.com/user?u=282505...
    Facebook:
    / realengineering1
    Instagram:
    / brianjamesmcmanus
    Twitter:
    / thebrianmcmanus
    Discord:
    / discord
    Get your Real Engineering shirts at: standard.tv/collections/real-...
    Credits:
    Narrator/Director: Brian McManus
    Co-Director: Stephanie Sammann (www.stephanie-sammann.com/)
    Co-Director: Mike Ridolfi (www.moboxgraphics.com/)
    Co-Writer: Aidan Breen (apbsoftwareandhardware.com/)
    Sound: Graham Haerther (haerther.net/)
    Thumbnail: Simon Buckmaster / forgottentowel
    References:
    [1] ceoworld.biz/2014/11/04/top-2...
    [2] coding-geek.com/how-shazam-works/
    [3]www.hackerearth.com/practice/...
    Music by Epidemic Sound: epidemicsound.com/creator
    Songs:
    Pink Mirrors - Ooyy
    Coast To Coast - Dylan Sitts
    3house - Ooyy
    Heliolingus - Ooyy
    Thri - Twelwe
    Thank you to my patreon supporters: Adam Flohr, Henning Basma, Karl Andersson, Mark Govea, Hank Green, William Leu, Jason A., Chris Plays Games, Tristan Edwards, Ken Coltan, Andrew McCorkell, Ian Dundore, John & Becki Johnston. Nevin Spoljaric, Jason Clark, Christopher Lam, Deven Warren Rathbun.
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 2K

  • @pierreuntel1970
    @pierreuntel1970 5 ปีที่แล้ว +7607

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

    • @vinitfirke2201
      @vinitfirke2201 5 ปีที่แล้ว +261

      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 5 ปีที่แล้ว +30

      *coughts* amazon.

    • @droid16beta97
      @droid16beta97 5 ปีที่แล้ว +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 5 ปีที่แล้ว +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

  • @Grove332
    @Grove332 5 ปีที่แล้ว +298

    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 5 ปีที่แล้ว +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 5 ปีที่แล้ว +3

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

    • @nooranik21
      @nooranik21 5 ปีที่แล้ว +4

      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.

  • @bobbobson9024
    @bobbobson9024 5 ปีที่แล้ว +2800

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

    • @svartdraken
      @svartdraken 4 ปีที่แล้ว +216

      ...BODY ONCE TOLD ME

    • @JaylinAAllen
      @JaylinAAllen 4 ปีที่แล้ว +109

      The world is gonna roll me

    • @sadfoxfilms1896
      @sadfoxfilms1896 4 ปีที่แล้ว +99

      I ain't the sharpest tool in the shed

    • @g_dub
      @g_dub 4 ปีที่แล้ว +76

      She was looking kind of dumb...

    • @icenturioniofficial8066
      @icenturioniofficial8066 4 ปีที่แล้ว +80

      With her finger and her thumb

  • @richardhudson4649
    @richardhudson4649 4 ปีที่แล้ว +1156

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

    • @mrdcon101
      @mrdcon101 4 ปีที่แล้ว +10

      Richard Hudson haha i was thinking the same

    • @lagrivv
      @lagrivv 4 ปีที่แล้ว +52

      I was pretending to understand, until i read ur comment

    • @khaledzaidan
      @khaledzaidan 4 ปีที่แล้ว +60

      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 3 ปีที่แล้ว

      Richard Hudson reall not that hard to understand if u listen

  • @nightmare5479
    @nightmare5479 5 ปีที่แล้ว +2118

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

    • @tylerdurden788
      @tylerdurden788 5 ปีที่แล้ว +4

      Shazam is magic

    • @wiceorc5105
      @wiceorc5105 5 ปีที่แล้ว +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 5 ปีที่แล้ว +1

      It most certainly is

    • @rohitagarwal9174
      @rohitagarwal9174 5 ปีที่แล้ว

      what are the other music videos please tell me

    • @nightmare5479
      @nightmare5479 5 ปีที่แล้ว

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

  • @yunus6009
    @yunus6009 4 ปีที่แล้ว +1396

    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 ปีที่แล้ว +73

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

    • @yunus6009
      @yunus6009 4 ปีที่แล้ว +16

      Yes I had

  • @dannydaw59
    @dannydaw59 3 ปีที่แล้ว +273

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

    • @ahmed38247
      @ahmed38247 3 ปีที่แล้ว +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 3 ปีที่แล้ว +18

      @@ahmed38247 you can do that with soundhound

    • @ahmed38247
      @ahmed38247 3 ปีที่แล้ว +3

      @@Ivy_film oh rly? ty

    • @kubiborglar
      @kubiborglar 3 ปีที่แล้ว +3

      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 3 ปีที่แล้ว +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

  • @priyanshurai9614
    @priyanshurai9614 4 ปีที่แล้ว +809

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

    • @KN-wi4ns
      @KN-wi4ns 4 ปีที่แล้ว +1

      Priyanshu Rai lol

    • @SkymidMusic
      @SkymidMusic 4 ปีที่แล้ว +2

      Lol

    • @karthikkumar5341
      @karthikkumar5341 4 ปีที่แล้ว +9

      I wish it was that simple.. LOL

    • @thomassims3096
      @thomassims3096 4 ปีที่แล้ว +55

      Syntax error in line 1, missing parameters “:”

    • @zunetrav4
      @zunetrav4 4 ปีที่แล้ว

      Lol

  • @bmay8818
    @bmay8818 5 ปีที่แล้ว +1270

    WHAT?! NO WAY!!

    • @codycast
      @codycast 5 ปีที่แล้ว +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 5 ปีที่แล้ว +5

      And it works really fast.

    • @toebeexyz
      @toebeexyz 5 ปีที่แล้ว +29

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

    • @USSAnimeNCC-
      @USSAnimeNCC- 5 ปีที่แล้ว

      Me too

    • @bmay8818
      @bmay8818 5 ปีที่แล้ว +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 5 ปีที่แล้ว +1036

    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 5 ปีที่แล้ว +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 5 ปีที่แล้ว +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 5 ปีที่แล้ว +46

      Soundhound sucks ass. It only recognizes popular songs.

    • @aravindr7166
      @aravindr7166 5 ปีที่แล้ว +29

      What about Google assistant?

    • @prieremonte
      @prieremonte 5 ปีที่แล้ว +19

      IMO shazam has better UI than soundhound.

  • @AminGuides
    @AminGuides 3 ปีที่แล้ว +137

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

  • @yuri0r
    @yuri0r 4 ปีที่แล้ว +14

    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. :)

  • @RealEngineering
    @RealEngineering  5 ปีที่แล้ว +1111

    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 5 ปีที่แล้ว +85

      Real Engineering wish you get better soon

    • @wesleysull
      @wesleysull 5 ปีที่แล้ว +8

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

    • @willdepue1071
      @willdepue1071 5 ปีที่แล้ว +2

      Nationwide delivery (Zipline?) ?

    • @lcs_crr
      @lcs_crr 5 ปีที่แล้ว +1

      Get better soon! Cannot wait

    • @RealEngineering
      @RealEngineering  5 ปีที่แล้ว +9

      @@willdepue1071 someone has been watching my instagram stories

  • @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

  • @MadMiff
    @MadMiff 3 ปีที่แล้ว +7

    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

  • @mrwhite6529
    @mrwhite6529 4 ปีที่แล้ว +80

    Damn These TH-cam guys know everything

  • @PaperGunner722
    @PaperGunner722 5 ปีที่แล้ว +1718

    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  5 ปีที่แล้ว +478

      You actually can in Soundhound I believe

    • @tylerdurden788
      @tylerdurden788 5 ปีที่แล้ว +145

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

    • @omkarchauhan7675
      @omkarchauhan7675 5 ปีที่แล้ว +183

      Search result: darude sandstorm.

    • @Phenomenon4253
      @Phenomenon4253 5 ปีที่แล้ว +79

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

    • @riesbezemer4028
      @riesbezemer4028 5 ปีที่แล้ว +34

      Toto - Afrika

  • @Flint404
    @Flint404 5 ปีที่แล้ว +3791

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

    • @hybby
      @hybby 5 ปีที่แล้ว +206

      Good job TH-cam. Education over entertainment.

    • @Alex_-oc4bt
      @Alex_-oc4bt 5 ปีที่แล้ว +34

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

    • @adeepta9344
      @adeepta9344 5 ปีที่แล้ว +8

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

    • @dragonballZbigBang
      @dragonballZbigBang 5 ปีที่แล้ว +2

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

    • @DenyLoneWolf
      @DenyLoneWolf 5 ปีที่แล้ว +23

      @@dragonballZbigBang why u so sure?

  • @cosmicreciever
    @cosmicreciever 5 ปีที่แล้ว +182

    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 3 ปีที่แล้ว +10

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

    • @watchingperson5357
      @watchingperson5357 3 ปีที่แล้ว +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 ?

  • @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.

  • @aido179
    @aido179 5 ปีที่แล้ว +184

    Delighted to have played a part in this.

    • @aido179
      @aido179 5 ปีที่แล้ว +16

      @@dosmastrify Co-Writer: Aidan Breen

    • @hwinangkoso
      @hwinangkoso 5 ปีที่แล้ว

      Aidan Breen lol

  • @adityabanerjee_1899
    @adityabanerjee_1899 5 ปีที่แล้ว +33

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

  • @maximiliansirzen6340
    @maximiliansirzen6340 3 ปีที่แล้ว +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!

  • @8BitHate
    @8BitHate 4 ปีที่แล้ว +6

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

  • @oreolamp5676
    @oreolamp5676 5 ปีที่แล้ว +1796

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

    • @CrazyFunnyCats
      @CrazyFunnyCats 5 ปีที่แล้ว +20

      Oreo Lamp 😹and Vanilla Ice ice baby ! 😷💩

    • @b2spirit35
      @b2spirit35 5 ปีที่แล้ว +49

      Or megalovania

    • @criticalhard
      @criticalhard 5 ปีที่แล้ว +21

      or stfu with that dead joke.

    • @SuryaTejaKarra
      @SuryaTejaKarra 5 ปีที่แล้ว +44

      or We Will Rock You by Queen?

    • @pepkin88
      @pepkin88 5 ปีที่แล้ว +78

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

  • @moboxgraphics
    @moboxgraphics 5 ปีที่แล้ว +11

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

  • @kezzu5849
    @kezzu5849 4 ปีที่แล้ว +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 👏🏿

  • @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

  • @FutureNow
    @FutureNow 5 ปีที่แล้ว +360

    Okay, but how does ShamWow work?

    • @RealEngineering
      @RealEngineering  5 ปีที่แล้ว +132

      Some questions are best left unanswered

    • @FutureNow
      @FutureNow 5 ปีที่แล้ว +19

      @@RealEngineering The world will never know.

    • @willdepue1071
      @willdepue1071 5 ปีที่แล้ว +5

      Black magic

    • @volvo09
      @volvo09 5 ปีที่แล้ว +12

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

    • @Red-Magic
      @Red-Magic 5 ปีที่แล้ว

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

  • @evaristegalois6282
    @evaristegalois6282 5 ปีที่แล้ว +271

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

    • @drazgul9403
      @drazgul9403 5 ปีที่แล้ว +3

      Would be great for April fools day

    • @gwinyaiejchipunza7168
      @gwinyaiejchipunza7168 5 ปีที่แล้ว +1

      th-cam.com/video/xaYAItb0v68/w-d-xo.html best review yet.

    • @USSAnimeNCC-
      @USSAnimeNCC- 5 ปีที่แล้ว

      Glad I haven't seen it

    • @Red-Magic
      @Red-Magic 5 ปีที่แล้ว

      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 5 ปีที่แล้ว

      Step 1: Start with a new platform!

  • @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

  • @dem4xed
    @dem4xed 4 ปีที่แล้ว +5

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

  • @awabqureshi814
    @awabqureshi814 5 ปีที่แล้ว +36

    Huh, always wondered. Thanks!

  • @BeachLookingGuy
    @BeachLookingGuy 5 ปีที่แล้ว +265

    It's easy... Darude - Sand Storm

    • @gregorwellard349
      @gregorwellard349 5 ปีที่แล้ว +5

      No one wants that shit anymore 🤧😪

    • @BeachLookingGuy
      @BeachLookingGuy 5 ปีที่แล้ว +12

      C'mon, somebody had to say it 😂

    • @imreerdos2372
      @imreerdos2372 5 ปีที่แล้ว +12

      Old but gold 😄

    • @kawaiisana3912
      @kawaiisana3912 4 ปีที่แล้ว

      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'.

  • @NevinWilliams71
    @NevinWilliams71 5 ปีที่แล้ว +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 3 ปีที่แล้ว +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 3 ปีที่แล้ว

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

  • @houssemhammami7816
    @houssemhammami7816 5 ปีที่แล้ว

    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

  • @andresluukas1922
    @andresluukas1922 5 ปีที่แล้ว +293

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

    • @yuvs0
      @yuvs0 5 ปีที่แล้ว +31

      made me want to burn my ears :/

    • @HyperDash
      @HyperDash 5 ปีที่แล้ว +19

      Came here to comment this.

    • @joeljames2829
      @joeljames2829 5 ปีที่แล้ว +2

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

    • @joeljames2829
      @joeljames2829 5 ปีที่แล้ว

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

    • @HyperDash
      @HyperDash 5 ปีที่แล้ว +1

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

  • @Onionbagel
    @Onionbagel 5 ปีที่แล้ว +95

    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 5 ปีที่แล้ว +5

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

  • @Joostinonline
    @Joostinonline 5 ปีที่แล้ว +9

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

  • @Abitibidoug
    @Abitibidoug 3 ปีที่แล้ว +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!

  • @marcooosbibendorsht1334
    @marcooosbibendorsht1334 5 ปีที่แล้ว +431

    This isn't an airplane

  • @danward1070
    @danward1070 5 ปีที่แล้ว +202

    *not sponsored by Shazam*

  • @Dave-ct1jk
    @Dave-ct1jk 4 ปีที่แล้ว

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

  • @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!

  • @wunder1385
    @wunder1385 5 ปีที่แล้ว +156

    Real Software? Engineering

    • @oilybrakes
      @oilybrakes 5 ปีที่แล้ว +1

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

    • @nicky_tdbp5353
      @nicky_tdbp5353 5 ปีที่แล้ว +22

      Hotel?
      Trivago

    • @tormenmashi_
      @tormenmashi_ 5 ปีที่แล้ว +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

  • @A2ZStudioPrague
    @A2ZStudioPrague 3 ปีที่แล้ว +6

    Wow, this video actually does explain it quite understandably!

  • @reddragon7408
    @reddragon7408 5 ปีที่แล้ว +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.

  • @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!

  • @Yathuprem
    @Yathuprem 5 ปีที่แล้ว +3

    World war era to new age in weeks. That's why i like this channel. Thanks for the video

  • @oldred9122
    @oldred9122 5 ปีที่แล้ว +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?!

    • @trevorjalla
      @trevorjalla 5 ปีที่แล้ว +3

      hmm hmm HIIIIM lol

    • @adobovs271
      @adobovs271 4 ปีที่แล้ว +1

      They didn't!!! 🎼

  • @jadenfernando
    @jadenfernando 5 ปีที่แล้ว +2

    This is an awesome video. Appreciate the time you took for the research and the animations🙌🏻

  • @gustavosaliola
    @gustavosaliola 5 ปีที่แล้ว

    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.

  • @benitollan
    @benitollan 5 ปีที่แล้ว +52

    What a coincidence I was just wondering about this yesterday

    • @Halzion_
      @Halzion_ 5 ปีที่แล้ว +1

      Lol me too

    • @ezioauditore5616
      @ezioauditore5616 5 ปีที่แล้ว +1

      I always wonder about this everytime i see my shazam app

    • @benitollan
      @benitollan 5 ปีที่แล้ว +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 5 ปีที่แล้ว

      I was wondering about this all my life

    • @mc_lovin363
      @mc_lovin363 5 ปีที่แล้ว

      Benito Llan Matos I wondered the same thing too

  • @162manoj
    @162manoj 5 ปีที่แล้ว +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!

    • @gabrielpauna62
      @gabrielpauna62 5 ปีที่แล้ว

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

    • @ladislaskrstic8328
      @ladislaskrstic8328 5 ปีที่แล้ว

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

    • @thatunnamedredshirt
      @thatunnamedredshirt 5 ปีที่แล้ว

      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.

  • @blank001
    @blank001 4 ปีที่แล้ว +2

    The one who made shazam is highly underrated.

  • @nicoprocessor
    @nicoprocessor 5 ปีที่แล้ว

    I've been searching for a clear explanation for a while, thank you very much, great job!

  • @alptklu
    @alptklu 4 ปีที่แล้ว +50

    How Shazam Works
    until minute 4: history of humankind

    • @edulira
      @edulira 3 ปีที่แล้ว

      Glad someone said it xD

    • @yopo654
      @yopo654 3 ปีที่แล้ว +1

      Gotta hit that 10 min mark

  • @coolkimch
    @coolkimch 5 ปีที่แล้ว +3

    Always wondered how Shazam worked since i first heard of it, very interesting stuff!

  • @kwstakis10100
    @kwstakis10100 5 ปีที่แล้ว

    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)

  • @Onetwistyboi
    @Onetwistyboi 5 ปีที่แล้ว +2

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

  • @JustinY.
    @JustinY. 5 ปีที่แล้ว +180

    It just works.

    • @jakob...
      @jakob... 5 ปีที่แล้ว +17

      How? There must be more than one person logged into your channel.

    • @abhiinair
      @abhiinair 5 ปีที่แล้ว +1

      Dankeschön Justin. We didn't know that. 😜

    • @hennyben30072000
      @hennyben30072000 5 ปีที่แล้ว +8

      It’s not a real TH-cam video without Justin Y.

    • @Rajat-Sharma1
      @Rajat-Sharma1 5 ปีที่แล้ว

      @@jakob... no hes just one person. I watched a video about him.

    • @Rajat-Sharma1
      @Rajat-Sharma1 5 ปีที่แล้ว

      Hi justin Y.

  • @AllPileup
    @AllPileup 5 ปีที่แล้ว +261

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

    • @RealEngineering
      @RealEngineering  5 ปีที่แล้ว +55

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

    • @shibnathroy106
      @shibnathroy106 5 ปีที่แล้ว +5

      @@RealEngineering you are very honest. Good

    • @rowan-paul
      @rowan-paul 5 ปีที่แล้ว +1

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

    • @salabhsg
      @salabhsg 5 ปีที่แล้ว +1

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

    • @purab1552
      @purab1552 5 ปีที่แล้ว

      😂😂

  • @niccolowalrond6189
    @niccolowalrond6189 5 ปีที่แล้ว +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.

  • @danielmccarville225
    @danielmccarville225 5 ปีที่แล้ว

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

  • @azzaisin
    @azzaisin 5 ปีที่แล้ว +49

    Why can nobody pronounce timbre.

    • @Zeekmeister101
      @Zeekmeister101 5 ปีที่แล้ว +9

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

    • @ladislaskrstic8328
      @ladislaskrstic8328 5 ปีที่แล้ว +4

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

    • @aravindr7166
      @aravindr7166 5 ปีที่แล้ว +5

      It's tam-ber right

    • @ZuluGod1
      @ZuluGod1 5 ปีที่แล้ว +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!

  • @MikefromQueens
    @MikefromQueens 5 ปีที่แล้ว +16

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

    • @kirasmith1147
      @kirasmith1147 5 ปีที่แล้ว +5

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

  • @moracamposricardouriel3172
    @moracamposricardouriel3172 2 ปีที่แล้ว

    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.

  • @SusilVignesh
    @SusilVignesh 5 ปีที่แล้ว

    Thank you Real Engineering. I was searching for this for a very long time.. I was wondering how that app works and engineering behind it. You showed me the basics of how fingerprint works. Thanks for the video!

  • @race5586
    @race5586 5 ปีที่แล้ว +84

    Tripaloski
    Tripaloski
    Tripaloski
    Tripaloski

    • @kabanos3k
      @kabanos3k 4 ปีที่แล้ว +4

      Hardbass tussovki adidas krossovki

    • @kawaiisana3912
      @kawaiisana3912 4 ปีที่แล้ว +3

      Cheeki Breeki!

    • @vboy2684
      @vboy2684 4 ปีที่แล้ว +2

      Rush B quick!!!

    • @jacobwebb8818
      @jacobwebb8818 4 ปีที่แล้ว +1

      THE THREE STRIPES

    • @BobbyUI
      @BobbyUI 3 ปีที่แล้ว

      блять

  • @ZachBillings
    @ZachBillings 5 ปีที่แล้ว +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 5 ปีที่แล้ว

      God, i feel old now

    • @volvo09
      @volvo09 5 ปีที่แล้ว

      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 5 ปีที่แล้ว +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 5 ปีที่แล้ว

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

    • @andyrharris
      @andyrharris 5 ปีที่แล้ว +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!

  • @schonkat1982
    @schonkat1982 ปีที่แล้ว +1

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

  • @AndreiDragosPopescu
    @AndreiDragosPopescu 4 ปีที่แล้ว

    Excellent video. Simple and precise. Really enjoyed it. Fabulous work! Keep it up!

  • @0xssff
    @0xssff 4 ปีที่แล้ว +57

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

  • @user-lynKx
    @user-lynKx 4 ปีที่แล้ว +15

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

  • @SVNSET
    @SVNSET 5 ปีที่แล้ว

    Thank you for this video. Really glad youtube recommended me this!

  • @HayDayGuy
    @HayDayGuy 4 ปีที่แล้ว +2

    Me at 8:00PM - I should get a nights sleep tonight...
    Me at 2:00AM - How does Shazam work?...

    • @ericfernandes3966
      @ericfernandes3966 4 ปีที่แล้ว

      Like literally for me it's 1:00AM now
      True story😂😂

  • @ANTH0NY.VII.
    @ANTH0NY.VII. 4 ปีที่แล้ว +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?

    • @eyeoftruth4405
      @eyeoftruth4405 3 ปีที่แล้ว

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

    • @vivekjain1667
      @vivekjain1667 3 ปีที่แล้ว +1

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

    • @kissindzerkiss
      @kissindzerkiss 3 ปีที่แล้ว +1

      @@vivekjain1667 exactly

  • @BobMcCoy
    @BobMcCoy 5 ปีที่แล้ว +35

    *_TH-cam Music wants to know your location_*

  • @benderboyscott
    @benderboyscott 5 ปีที่แล้ว

    Love the references and how you have added them.

  • @Phippe
    @Phippe 5 ปีที่แล้ว

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

  • @x_tomasu_x5452
    @x_tomasu_x5452 3 ปีที่แล้ว +10

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

  • @benitollan
    @benitollan 5 ปีที่แล้ว +15

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

  • @DQHW
    @DQHW 5 ปีที่แล้ว +1

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

  • @GenjiPrime
    @GenjiPrime 4 ปีที่แล้ว +1

    1:51 yeah all thanks to you, now that song got stuck in my head for the rest of my day 😂🤣

  • @atlas7309
    @atlas7309 4 ปีที่แล้ว +6

    2:46 Oh. Just like wood...

  • @keco185
    @keco185 5 ปีที่แล้ว +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  5 ปีที่แล้ว +13

      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 5 ปีที่แล้ว +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 5 ปีที่แล้ว +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 5 ปีที่แล้ว

      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 5 ปีที่แล้ว

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

  • @wardsuleiman1640
    @wardsuleiman1640 5 ปีที่แล้ว

    Thank you for answering a question that I ask my self every time I use Shazam !

  • @mrlucasftw42
    @mrlucasftw42 5 ปีที่แล้ว

    This is is glorious - I've always been curious about sound - this is whetting my appetite.

  • @jackhu7967
    @jackhu7967 3 ปีที่แล้ว +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.

    • @MacSpowman
      @MacSpowman 3 ปีที่แล้ว

      Blessed O(1)

  • @metrabyte1282
    @metrabyte1282 4 ปีที่แล้ว +9

    “Timber” 🌲it’s pronounced “tAmber”

  • @ComputersAreRealCool
    @ComputersAreRealCool 5 ปีที่แล้ว

    This is an excellent video! Very clear and easy to understand, great job!

  • @martinskesteris6331
    @martinskesteris6331 4 ปีที่แล้ว +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.

  • @fa.h.
    @fa.h. 5 ปีที่แล้ว +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 5 ปีที่แล้ว

      Google Assistant does the job

  • @trevorscheidt3483
    @trevorscheidt3483 3 ปีที่แล้ว +6

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

    • @atlf3357
      @atlf3357 3 ปีที่แล้ว

      Ikr 🙄

  • @jokerzone891
    @jokerzone891 5 ปีที่แล้ว

    One of the best general explanations of a hash table

  • @rushilv4102
    @rushilv4102 5 ปีที่แล้ว

    This video was brilliant! All the visuals helped a lot.

  • @mekafinchi
    @mekafinchi 5 ปีที่แล้ว +3

    I think the first 4-5 notes of Megalovania would have been a better example imo

  • @EtsuMatsuya
    @EtsuMatsuya 5 ปีที่แล้ว +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 5 ปีที่แล้ว

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

  • @balajisriram6363
    @balajisriram6363 5 ปีที่แล้ว

    You answered a question that hit me from day one. Thanks a million

  • @jaxibsbob6392
    @jaxibsbob6392 4 ปีที่แล้ว

    A quite detailed explanation, but understandable and informative. I am inspired to check out the other videos on the channel