Miley Cyrus has recorded a duet with Timbaland.

The Disney star features on 'We Belong to the Music', the first song on the R'n'B singer-and-producer's third solo album 'Shock Value 2'.

Justin Timberlake, Katy Perry and The Fray also appear on the record.

'Shock Value 2' is due for release on November 24.

Meanwhile, 'Gravity' singer John Mayer has given Miley some career advice, praising her for deleting her Twitter account in an attempt to keep her "private life private".

The 32-year-old star said: "She's smart enough to realise there is some interference of the brain that she doesn't want to deal with.

"I think if you're in Miley's situation, it might take a little too much time to play goalie for your own heart and mind.

"It's difficult to be seen in the public and continue to be vulnerable as an artist. At 16 or 17 you got to keep learning, even if people are watching you. Just keep writing, keep working, keep developing."