A group of musicians from a Glasgow high school have had their self-penned song professionally released after winning a competition.

As part of the National Theatre of Scotland's upcoming production Submarine Time Machine, the pupils were asked to create a musical interpretation of one of its fables.

Students from St Roch's Secondary School in Royston triumphed in the competition and won a day in a recording studio where they had their work produced before it was given its online release.

The project, supported by the ScottishPower Foundation, will also see the pupils' winning lyrics displayed along the canal network for the community to enjoy.

St Roch's won the competition with comedy ballad Davie Trainer's Dog. The song tells the tale of an unfortunate pet who dies after being bitten by a 6ft monster fish hiding in the Forth and Clyde Canal.

Ann McKechin, trustee and executive officer at the ScottishPower Foundation, said: "For centuries, Scotland's intricate network of canals has provided inspiration for generations of artists, poets and songwriters.

"The Submarine Time Machine has helped keep this tradition alive by introducing a new generation of young musicians to the stories of Glasgow.

"We received a high standard of entries this year, but the entry from St Roch's really stood out, thanks to their humorous approach to the story of Davie and the young people's excellent singing voices."

The group recorded their song with producer Paul Gallagher, who has worked with rising stars Kid Canaveral, Ultras and Jonnie Common.

Submarine Time Machine tells the stories of the canal as seen by a mini-submarine whose final journey took it from the North Glasgow Canal Corridor to Rosyth in 1952.

It culminates in a site-specific theatre event on the banks of the Forth and Clyde Canal between Speirs Locks and Firhill Basin in Glasgow, with school and groups performances from June 20-22 following by public performances from June 23-25.

Simon Sharkey, associate director of National Theatre of Scotland, said: "Thanks to funding from the ScottishPower Foundation, we are able to pursue this ambitious project reaching out to communities across Glasgow and creating new stories around the hidden gem that is the Forth and Clyde Canal.

"We were delighted to see so many young people be inspired by the Submarine Time Machine and the team and I absolutely loved listening to the finished production of the song from St Roch's."

The winning song can be heard on ScottishPower's YouTube channel and at nationaltheatrescotland.com.