After Spotify announced a feature that lets users search songs using lyrics, Google has now taken it a step further by allowing people to cure their earworms by singing, humming, and whistling.

The new update, called ‘Hum to Search’, is accessed by tapping the microphone icon on the Google app or Search widget. You can then ask ‘What’s this song’, prompting a 10-15 second window that lets you sing, hum, or whistle any tune that’s stuck in your head. Alternatively, you could also press the ‘Search a song’ button.

Google will then show the most likely results, including song information, the artist, lyrics, official music videos, and more.

The best part of the feature? You don’t even have to be in tune for it to work, so your tone-deaf self can relax. Google explains it by equating a song’s melody to a fingerprint.

‘[Melodies] each have their own unique identity. We’ve built machine learning models that can match your hum, whistle, or singing to the right “fingerprint.’, reads the post.

‘When you hum a melody into Search, our machine learning models transform the audio into a number-based sequence representing the song’s melody. Our models are trained to identify songs based on a variety of sources, including humans singing, whistling, or humming, as well as studio recordings’.

‘The algorithms also take away all the other details, like accompanying instruments and the voice’s timbre and tone. What we’re left with is the song’s number-based sequence, or the fingerprint’.

The ‘Hum to Search’ feature is currently available in English on the IOS and more than 20 languages on Android. We personally tried it out, and while it isn’t perfect (it took four tries to recognize IVoS’ ‘Mundo’), we appreciate the fact that it applies to songs in Filipino.