230 comments

[ 2.7 ms ] story [ 247 ms ] thread
Finally someone did this. I've got a million songs in my head that I'm humming not knowing what songs these are. And I was dreaming of being able to simply hum a melody to something shazam-like and get a result.
I’m fairly sure SoundHound has had this feature since the early 2010s. Haven’t heard of the app since, but apparently their site is still up. I think Shazam ended up winning the music ID race as I remember having both apps.
Yup, SoundHound existed, and before that, Midomi.
For some reason, I can never remember the name of this service despite its simplicity.
This is a killer feature. Good job, Google!
Hasn't this existed in Google assistant for a long time? Or does that only match the song itself (playing on the radio/store speaker/...)
The long-available one is similar to how siri / shazam / etc work - it only detects the actual song. I forget how the audio fingerprinting works (probably varies by system anyway), but they tend to be pretty picky and very sensitive to small timing or frequency changes on "interesting" audio points. E.g. even quite-true-to-the-original covers often fail to find matches for me.
Been trying to find this in the iOS app but not having any luck. Did I miss something in the article?
Works for me in the iOS app. Tap the microphone in the search box, then tap Search a Song.
There's no Search a Song button for me. I just updated the app...

edit: works for me now. After a few minutes the button just started showing up

Ditto over here, just updated and search a song is nowhere to be found.
I logged out of my Google account in the app (well switched to "use this app without account") and it started working.
I was confused too at first. Installed the app and pressed the microphone icon, but didn’t notice the button. Was it even there?

But then after I’d uninstalled the app I went back and reread the article and saw it say to press microphone and then button for search a song, reinstalled app and then I saw the button there.

Still don’t know if it was there or not the first time around. Maybe I just didn’t see it? Either way, it’s there now. Using iOS btw.

I was curious to see how it would fare because for example when I’ve tried to hum into Shazam or SoundHound in the past they’ve never come close to finding what I was looking for.

But I read in the article that Google is using machine learning and that they have actually trained their hum to search on recording of humming so I got my hopes up.

So in the Google search app I hummed a part of the melody for the song What is Love by Haddaway and... it recognized it! I’m impressed!

Can you tell me what version the app is?
(comment deleted)
Just tried it out on my throwaway Android. Wow, this actually works really well!

As I write this from my iPhone, this might singlehandedly be the reason why I switch to a Pixel instead of another iPhone this fall. I was always disappointed that even after acquiring Shazam, Siri could never seem to correctly guess what song was playing unless I had a perfect recording.

Anytime I go to a live concert venue, or even a club, I never can get a recognizable song from my phone. Live music I could maybe sort of understand, but the club part failing was always weird to me, because besides a little bit of distortion, the song being played is coming directly out of a speaker. It shouldn’t be that hard right?

Lol, you're assuming this couldn't just be a web application with microphone access.
It works just fine in the Google Search iOS app.
What app are you using? I tried “what song is this”, and it just directs me to a search result on my iPhone.
Mine has a "search a song" button that appears after tapping the microphone button.
Same here, and I have no "search a song" button after hitting the microphone

edit: now the button does show up. Tried humming "Peter and the wolf" and it failed.

(comment deleted)
There is an update available to the Google app. It worked for me once I updated the app.
The Google search app named “Google” on iOS 13.7, iPhone X. Norway.

The button is there for me, and hum to search works.

Screenshot: https://snipboard.io/ITZN9A.jpg

When I first installed the app after reading the article, to test it out, I couldn’t find it even when I pressed the microphone symbol.

But after rereading the article I installed it again and when I went and tapped the microphone I saw the Search a song button.

Weird, now I see the button. "Google" on iOS 13.7, asia

Immediately after updating, there was no button. Maybe something changed on their end or something needed to sync in my phone.

Same for me. When the news broke, despite getting the latest app there was no button, but now there is (Japan).
Nice! It showed up after I reinstalled it. If I end up wanting to do so, is there a way to potentially replace Siri with Google somehow in the settings?
Works just fine on iOS. This isn't Android specific
Siri does this too, at least on my HomePod.

It's almost spookily accurate

This is probably cross platform; But what is not cross platform is the "Now Playing" feature of Pixels, that enables ambient songs matching in the background (without the use of internet, you can confirm with airplane mode). It keeps a list of songs that it identifies as well... Also the recorder app, which is the bomb (transcribing without internet, searchable, editing (cuts and joins audio) and creating a video with transcription). Cool stuff
Didn't apple just demo the same thing in their event this week? Might not have to use the google app at all.
I just tried this with a melody I've had stuck in my head for days - no results.

Then I tried "Happy Birthday" and got three results:

"Las Mananitas" by Canticos

"Iyi Ki Dogdun Melissa", by Eser Ulun

"Iyi Ki Dogdun Zarife", by Eser Ulun

I'm no Pavarotti, but I can sing on pitch and have played the violin for 40 years.

EDIT: Heh, "Iyi Ki Dogdun" is Turkish for Happy Birthday, and the links would have taken me to YouTube videos of the song sung in Turkish, then English. But why not to videos in English? YouTube has some, and I'm an Anglophone user in the USA.

Sorry, it's built for people who can't sing. You'll have to find a friend with a chalkboard voice.
That's probably it. I'm not a great singer, and I wanted to see if it could recognize my attempt at a challenging melody. It got "Everybody Wants You" by Billy Squier, first try.
(comment deleted)
"Las Mañanitas" is a traditional Mexican birthday song. "Cánticos" means just "chants".
Huh! So it is. But the couple versions I found started with a verse with a different melody before going to Happy Birthday.
I just tried "Hymn of the Fayth" and got none, despite the fact that there's a version of it that's literally just hummed.
My Turkish isn't great but, iyi ki dogdun translates to "good thing you were born" which always amused me. Happy birthday is more like "dogum gunun kutlu olsun" (something like, may your day of birth be celebrated). It's always fun to see how language gets worked with to fit a certain melody.
I wonder, does it know how to transpose? People may end up humming tunes in different keys that their voices can more easily reach.

Also, why the hell do I need an app for this? Is it actually running a local model? Because my guess is that it's just hitting an API.

I wondered whether pitch might play a role. EDIT: singing in a higher key got me English results, so I guess so?

There's no way it would do much locally, but maybe they just wanted to make sure the audio passed to the API has a certain sample rate and encoding?

Very unlikely that they are considering the actual sung or hummed pitch as very few people, including professional musicians, would start singing at the correct pitch without accompaniment.

Most likely they are mapping the interval between the sung notes and using that as part of the ‘melodic fingerprint’ for matching.

"Happy birthday" was the first thing I tried. Worked perfectly with a loud TV on in the background.
I hummed it very roughly and got "Las Mañanitas" followed by "Happy Birthday to You."
I'm not sure how you were doing it, but when I think of "hum", I think of making a noise with my mouth closed. I found opening my mouth and making a tone worked much better.

I'm not sure how many people think of hum the same way. I've noticed lately some words being used slightly differently than I am used to (the one coming to mind right now is "giggle" in a story that in context I would interpret as meaning "chuckle"), and at this point it's happening enough that I'm not sure if there's a shift in perception of these words or if I just always interpreted them more narrowly than they were intended.

Your interpretations of "hum", and "giggle" being different from "chuckle" (tee-hee vs heh heh), are the same as mine.

I tried using my mouth open and didn't get significantly different results, though.

I'm reminded of the CollegeHumor "If Google was a Guy skit": https://www.youtube.com/watch?v=Cxqca4RQd_M

"song that goes meow meow meow meow meow meow", can't find it at the moment for a timestamp. Wonder how many real queries of that actually happen.

Well, there was this (now-deleted) song-identification-request posted on Stack Exchange a few months ago: https://i.stack.imgur.com/31A2G.png

> I have the tune in my head of a metal song. but I can't figure out. It's goes like on guitar ha ha ha. ha ha ha haaaaaaaaaaaaaaaaa. ha ha ha ha haaaaaaaaaaaaaaaaaaaaaaaaa.

This thing will be interesting for metal given how so much of it doesn't have a discernable melody or comprehensible lyrics, :D
Smoke on the Water, obviously
Only available on mobile, huh?

Reminds me of Google Translate on photos/images, which has been available for years on mobile but never on web.

I hope this doesn't become a trend.

(comment deleted)
The reverse is frustrating also: no reverse image search on mobile.
At least it's trivial to hit the "open desktop site" button, although the page isn't very comfortable to use on iOS.
Hold your finger on the image in chrome and in the pop-up menu there's 'search with google lens'. On https://www.google.com/imghp?hl=EN if you request a desktop site there's an upload capability as well...
But you are aware that the vast majority of users would be on mobile, right?

I mean I recognize that Translate on images in the browser - especially if combined with Youtube and Image Search - would be incredibly powerful, but it just wouldn't be as much a thing on desktop.

I'm pretty sure (don't quote me on this) that there's a bit of processing done on the device (character recognition / isolation) before sending it off to Translate as well; not sure how well that would port to a browser. Should work just fine with wasm though.

Googles internal mantra has been "mobile first" for the best part of a decade now...
Only works for English songs. I searched for a Pakistani song as famous as national anthem ("dil dil Pakistan"). It couldn't find it.

I was thinking it learns the tune of song and matches with that so language should not matter.

It worked for "Desert Rose" though.

Edit: Also worked for an Indian song.

Also worked for few other recent famous Pakistani songs. I guess the first song that I searched is probably not listened on YouTube as much as its known by heart.

It could not search for national anthem itself for the reason.

I tried a couple of pop songs from spain from the nineties (not known internationally at all) and it worked.
Tried a bunch of Indian (and not even Bollywood) songs, worked just fine. Seems to use YT / Google Music content as a reference.
> This feature is currently available in English on iOS, and in more than 20 languages on Android
I think it's talking about the interface language, not the actual content. I'm pretty much sure it connects to the same endpoints for the actual hum and data, so there should be no difference.
I tried the Portuguese anthem three times, with lyrics. I got a Japanese anime song, a French lullaby about a baby bear and "All I want for Christmas".
It got "Stayin' Alive" by the Bee Gees with a 17% match, but couldn't get "Dragonaut" by Sleep. Maybe I'm a bad hummer?
Further up was the advice to open your mouth while intonating thr song.
This has consumed my morning. I've been humming out all of random tunes of my childhood from folk music to pop that I never knew the name of. It works.
(comment deleted)
Back in the days, I hoped Shazam was exactly that.

I was rather whelmed when I saw it could just find songs that were playing right now.

I dowloaded the Google app, said “what’s this song,” and it just searched Google for the words “what’s this song” instead of listening for humming. Am I doing something wrong?

Edit: After tapping the microphone icon, I have to tap the “search a song” button instead of saying “what’s this song”

What version do you have installed? The latest version for me is 129.0 which came out 4 days ago, and I don’t see a button after tapping the mic
This works relatively well!

I am a non-native English speaker, and I have been trying songs from different countries. I did notice that English songs have a better match than songs from other regions and languages[0]. I wonder if their training dataset has "overfitted" to such music, or is such music inherently represented by some underlying features that are better distinguished than others.

[0]: E.g. English ("My Heart will Go On" and "Skyfall") fit with 78% and 85% respectively, while Japanese ("Tonari no Totoro") and Hindi ("Tum Hi Ho") fit with 42% and 48% respectively

It depends on how good you can hum, I tried couple of english songs (Fix You, Ophelia, etc) it was around 18-20%, "Kya Hua tera wada" a Hindi song was matched with 48% I believe
> This feature is currently available in English on iOS, and in more than 20 languages on Android. And we hope to expand this to more languages in the future.

What? Humming is not different across dialects.

The interface is.
SoundHound already did this long ago. It works pretty well.
I'm a very musically challenged person, people usually don't recognize when I'm humming a song they like for them, and it used to really infuriate me.

So, I bought SoundHound 8+ years ago in a Google Market promotion offering several apps for pennies (10c, I guess?). Tried it without much hope and damn it, it worked well. Sometimes it goofed, but truth be told, it may be my problem.

Also, it had the ability to identify covers in a crowded bar, or non-playback live versions. Shazam, which was very popular at the time, admittedly couldn't do any of that - in their FAQ (which I could not find right now) they even told that if Shazam recognize a live version, it must be either a playback or a player with microsecond precision repeatability.

Silence detection is awful, and there's no way to manually end recognition, so I literally cannot use this.
There's a timeout, so if you're patient it eventually stops
I think it stops at detection, not silence. If the prompt continues you should keep humming.
I must suck at humming and whistling, or I have very esoteric taste in music, as it hasn't guessed a single song out of half a dozen.
How does this impact copyrights? Is there a new class of performances that become easy to charge licensing fees for?
Not sure what you mean? A gym is compared to a fingerprint, versus any part of the copyright material.
There's a video of a streamer saying 'hey google, play the mexican doot doot song' and it plays, and this reminds me of that. Unfortunately I can't find the video because I think google strips out 'hey google' even when you're specifically searching for the phrase 'hey google'.
It works if you put "hey Google" in parentheses. But the original video seems to have be made private and I can't find a mirror on mobile.
I remember finding some songs by humming to Shazam 5 years ago or so.
Two things I wish this had,

1) A "I'm finished humming" button

2) A way to tell Google what song I just hummed when it guessed wrong

It failed for me on "Sofia" and "Peter and the Wolf" -- maybe this only works for recently popular songs?

I also had no luck with a number of classical pieces that are commonly recognizable. I had about 50% luck with random pop songs.
I hummed "Roland the Headless Thompson Gunner" and "My little armalite" which aren't too recent or popular and it got both.
(comment deleted)
I tried many times but couldn't get sandstorm to work :(
I was just talking about this a few days ago! This is so cool. I've been looking for an 80s duet for the last 10 years with no luck.
As a child I remember hearing a beautiful song, sung in Japanese (so not searchable by anglo me), and today I finally found it [1]. Thanks Google!

[1] https://www.youtube.com/watch?v=rbTsG9jrJsU

Incredible

'The song is best known under the alternative title "Sukiyaki". In Japan it refers to a Japanese hot-pot dish with cooked beef, the word sukiyaki does not appear in the song's lyrics, nor does it have any connection to them'

"Ei wrote the lyrics while walking home from a Japanese student demonstration protesting against a continued US military presence in the country, expressing his frustration at the failed efforts."

"An instrumental version of the song was played by NASA over the radio for the Gemini VII astronauts as mood music, thereby becoming one of the first pieces of music sent to humans in space."

Interesting all around but I found the beef part hilarious
(comment deleted)
The English language version I'd always heard was the 4PM cover [0], which I just found out was originally by A Taste of Honey in the 80s [1].

[0]: https://www.youtube.com/watch?v=ueVjrc7YYoE

[1]: https://www.youtube.com/watch?v=xqFkUNqBwMw

Funny, I recognized the melody from the Slick Rick song La Di Da Di.

https://youtu.be/zk4Y7SbTQK8?t=164

Warning: potentially NSFW - language (for those still in offices)

yup and Snoop keeps that same musical reference in his hugely popular cover of that tune.
It's a wonderful tune -- I was an instant fan hearing it in the movie Inherent Vice.
How exactly did you hum this so it was detected? How many tries did it take? That is incredible it worked thanks for sharing
Why not try testing it for yourself? That way, you'll have a definitive set of results to look at that you can guarantee.
That wouldn't answer the question. Searching a song that you remember from the past is nothing like listening to a song on YouTube and then immediately trying to sing it back to Google.
That's a fair point. Thanks for providing an explanation!
Just once, humming (not particularly well), not singing.

The song in question is sung with a very clear voice, with minimal instrumental backing. That may suggest the limiting factor is Google's ability to parse songs, rather than users' ability to hum them.

From Wikipedia: "The song appears in episode 2 of The Man in the High Castle..."

Aha, so that's where I had heard it before!

Thanks for introducing me to this!
Love this song!

Whistle and look up so you can't see these tears..

It managed to be a #1 hit in the US even!