Sam Smith
Singer will record theme for next 007 movie starring Daniel Craig. Getty

It was the industry's worst kept secret. But now, after months of speculation Sam Smith has confirmed he will be singing the theme tune for upcoming James Bond movie Spectre.

Describing the gig as one of the highlights of his career, the British singer revealed he had recorded Writing's On The Wall, putting an end to rumours that Ellie Goulding was the musician behind the soundtrack.

"This is one of the highlights of my career. I am honoured to finally announce that I will be singing the next Bond theme song," he told his 3.4 million followers on Twitter. "I am honoured to finally announce that I will be singing the next Bond theme song.

"I am so excited to be a part of this iconic British legacy and join an incredible line-up of some of my biggest musical inspirations. I hope you all enjoy the song as much as I enjoyed making it."

Despite Smith's excitement, news of his involvement in the movie was met with missed reactions. While some fans could not hide their excitement, others claimed Smith was not the right person for the job.

The Brit Awards winner co-wrote the song with Grammy winner Jimmy Napes. The title track will be the first James Bond theme recorded by a British male solo artist since Tom Jones did Thunderball in 1965.

Smith will be hoping to emulate the same success of fellow Brit Adele, who performed the hugely successful theme song to the last James Bond outing, Skyfall, for which she won an Academy Award.

Spectre will be released in UK cinemas on 6 November and sees Daniel Craig reprising his role as the secret agent. The film also stars Ben Whishaw, Monica Belucci, Lea Seydoux, Ralph Fiennes and Christoph Waltz. It is believed Craig will star as Bond in at least one more movie after Spectre.