The hope was that everyone working together would spark creativity, but Zimmer had no idea how far that creativity would go.

"We wrote an opera. So, who would've thunk it?" Zimmer said. "It just came out of a conversation with Marc that came out of all these ideas and suddenly, you know, there was this great moment where (Pharrell) was so excited because of all these ideas. I could see all of these ideas sort of flying in his head and he said, 'Stop. I just have to walk around the block, literally.' We sat there and he walked around the block and came back with two pages of lyrics. Amazing. It was amazing but it was that sort of environment."

Other members of Spidey's supergroup included Johnny Marr, founding member of The Smiths, and Michael Einziger, founder and guitarist for Incubus. The soundtrack also includes a collaboration between Alicia Keys and Kendrick Lamar.

Williams said things came together despite the presence of these high-end musicians from all parts of the music world.

"Yeah, it was very harmonious," he said. "The atmosphere, it wasn't a clash of the egos. It was more like everything just fit into place in a really wonderful way and of course Hans being at the helm of what we would call leadership. He allowed for everyone to have a voice and for everyone to have their creative space and for that space to count."

That creativity spilled over into the film, which opens May 2, as Webber became so inspired by the work he made a change in the movie.

"I suppose I don't think it's a secret anymore, but suddenly the Sinister Six were sort of introduced into the movie because we had a theme for them and it became irresistible to go and shoot these scenes," Zimmer said.

Copyright 2014 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.

Read or Share this story: http://www.sctimes.com/story/entertainment/music/2014/04/10/pharrell-others-team-spider-man-soundtrack/7516059/