Facebook is adding sound recognition capabilities to its mobile app, allowing users to tag their posts with relevant songs, TV shows or films.

When writing a status update users will be able to turn on the feature to enable the smartphone’s microphone to detect music or dialogue in the background, and to share the information on the social network.

Facebook product manager Aryeh Selekman explained that users will see an audio icon moving on their screen when they write a status update if the functionality is enabled. If the service is able to match the sound it picks up with content, it will add it to the status update.

Facebook friends can see a 30 second preview of shared songs, while for TV shows the News Feed will show which season and episode has been tagged.

The feature will be rolled out to iOS and Android users in the US over the next few weeks.

Sound recognition apps Shazam and Soundhound have seen huge success: Shazam claims to have more than 450 million users globally (and more than 90 million monthly active users), while Soundhound revealed it had 200 million users in April.

Three of the world’s largest music companies recently invested a total of $9 million for stakes in Shazam, with the company having previously secured $40 million in investment from America Movil in July last year as part of “a strategic business collaboration for the Americas”.