Scotland's national orchestra has recorded the nation's unofficial anthem Flower of Scotland to be played at medal ceremonies at the Commonwealth Games.

The Royal Scottish National Orchestra (RSNO) was commissioned to provide recorded instrumental versions of the song by Commonwealth Games Scotland, which selects, prepares and manages Scotland's team for the sporting event.

It will be played at Glasgow 2014 at medal ceremonies for members of the Scottish team.

Flower of Scotland was composed by The Corries' Roy Williamson in 1965 and became one of their most popular songs, both recorded and live.

Royal Conservatoire of Scotland head of brass and former RSNO musician John Logan spent two weeks arranging the song for a large symphony orchestra.

The orchestra then recorded two versions of different length, both featuring pipers from the National Youth Pipe Band of Scotland, with Mr Logan conducting.

Former Corries member Ronnie Browne gave his support to the project.

He said: "It's been a great pleasure working with the Royal Scottish National Orchestra on this project and I'm delighted with John Logan's arrangements.

"Perhaps now it's right to consider, with the RSNO recording Flower of Scotland for the Commonwealth Games in Glasgow, final recognition of its standing as Scotland's national anthem.

"It means a great deal to me and I know it would have meant a great deal to my colleague Roy (who died in 1990)."

Flower of Scotland has been used as the national anthem by Scotland's national rugby team, with the Scottish Football Association following suit, adopting it as its pre-game anthem in the 1990s.

Following a vote by the athletes, it replaced Scotland the Brave as Team Scotland's victory anthem for the 2010 Commonwealth Games in Delhi, where Scotland won nine gold medals, ten silver medals and seven bronze.

Michael Cavanagh, chairman of Commonwealth Games Scotland, said: "We are absolutely delighted with the new arrangement and recording of Flower of Scotland by the Royal Scottish National Orchestra.

"The playing of our chosen national anthem to mark both individual and team success is such a proud moment and I know that the athletes who find themselves in this position next month will be deeply-moved by this version, recorded specially for the team."

In 2006 the RSNO ran an online poll asking what the people of Scotland would prefer as their official national anthem. Flower of Scotland was the clear winner, with more than 40% of the votes cast.

Mr Logan said: "It is a very special honour to be involved. In Ronnie we have a national legend and his endorsement and encouragement has been wonderful.

"I will be watching the Commonwealth Games with anticipation and it will be with heightened pride when Scotland wins a gold medal, knowing that we contributed to the specialness of the occasion."