All you have to do is identify a song using the Shazam app on your iPhone.

If you are curious about Apple Music and have never tried it out before, you can already try the service for free for three months, but there is actually a way for new years to get up to five months free.

All you need to do is download Shazam to your iPhone, iPad or iPod touch and use the app to identify a song that’s playing.

When you Shazam a song a button will appear inviting you to Open In Apple Music - tap on this you will receive the offer of five free months.

Apple Music free 5 months

At least you’ll get the free five months subscription offer if you have never used Apple Music. If you have tested the service before the length of that trial time will be deducted (so if you previously had a three month trial you will be invited to have a two month trial).

When this scheme first launched we found we were unable to take advantage of the deal - we assume because we had subscribed in the past and cancelled our subscription. It appears that Apple has rectified this, if it was indeed the case, because we have now been able to get a two month trial.

Apple Music Trial

Another option offered by Apple is an invitation to get Three Months Apple Music for £9.99, which is essentially three months for the price of one.

Back when we initially reported on this we understood that the five months Apple Music free promotion runs until 17 January - we aren't clear if it will continue after that date, or if Apple will start to offer a new deal.

Shazam has been owned by Apple for some time, which explains why it is a Apple Music subscription that is offered and not Spotify.

From time to time Apple has free trials for Apple Music, for example, earlier this year students could get six months free Apple Music.

Here's more information on How to get Apple Music for free.

Wondering if it's worth trying out Apple Music? Read our Apple Music vs Spotify comparison.

Find out more about Apple Music on Apple's website.

This article originally appeared on Macworld Sweden. Translation by Karen Haslam.