ADVERTISEMENT

Google Assistant can now help you identify that song

Updated - November 07, 2017 05:36 pm IST

The feature, earlier available only on Pixel phones, is being rolled out across all Android devices

Google Assistant did not have music recognition when first rolled out. This is now being rectified with the latest Android update. Representational image. | AP

Now, musicophiles will no longer need to download the Shazam app to help them track every piece of music they come across. Nor do you need to splurge on a Pixel 2 to get access to a built-in song identifier. Google Assistant, available by default on Android 6 and above, now has that superpower — music recognition.

This means, if you hear a song playing around you, all you have to do is say "Ok Google. What song is this?". And the Assistant will serve you up with complete information about the song, including title, artist, lyrics, through Google Play Music, YouTube links, and any third party apps installed on your device — the works.

ADVERTISEMENT

ADVERTISEMENT

The feature was rolled out in an update to Android devices today. It had been released in a limited way last month, for Google Pixel and Pixel 2 smartphones alone. Google Now did have the ability to decipher music, but the early version of the Assistant had dispensed with the functionality.

It is not available in all countries just yet, however.

ADVERTISEMENT

How does song recognition work?

ADVERTISEMENT

Technically, gadgets or apps don't identify songs as much as they identify sounds.

Shazam uses a technique called spectrography, wherein it takes a database of thousands of popular songs and creates a unique spectral signature or "acoustic fingerprint" for each one. This fingerprint captures and stores sound data in three parameters — frequency, amplitude and time, and creates a numeric signature for the song.

Then, when you the user hold your phone up to a musical playback or performance, it captures a sample of the song clip through the device's microphone. It then runs the audio through the same spectral algorithm, and finds a match in its database.

Shazam has a catalogue of over 11 million songs, or acoustic fingerprints. Google as of now has over 10,000 popular songs in its database that you can expect it to identify.

The algorithm, which was first developed by Shazam's chief scientist Avery Wang, can "correctly identify music in the presence of voices, traffic noise, dropout, and even other music" and other forms of external interference. You can find the research document here .

However, it was designed to match sound files with existing signatures in the database. So, if you want to identify the song from a live performance and avoid a false positive, the artiste or band had better be pretty accurate in reproducing the studio version of their song.

This is a Premium article available exclusively to our subscribers. To read 250+ such premium articles every month
You have exhausted your free article limit.
Please support quality journalism.
You have exhausted your free article limit.
Please support quality journalism.
The Hindu operates by its editorial values to provide you quality journalism.
This is your last free article.

ADVERTISEMENT

ADVERTISEMENT