Google has launched a new feature for its smart voice ‘Assistant’ that lets you identify a song by simply humming, whistling or singing the tune.

This new feature is available on smartphone and smart speakers that use Google Assistant, using machine learning to identify potential song matches.

All users need to do is tap on the microphone on the search bar on the Google Assistant app and hum a familiar track 10-15 seconds or What’s this song feature. Google then offers back search using the tune and melody.

In a blog post, a spokesperson for Google said, “We’ve all had that experience of having a tune stuck in our head, but can’t quite remember the lyrics. Now, when those moments arise, you just have to hum to search, and our AI models can match the melody to the right song.

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