What do the EDM genre, sugary-sweet popstar Katy Perry and legendary grunge band Nirvana all have in common? They’re the driving inspiration behind the Coldplay hit ‘A Sky Full of Stars.'

In a new video for Beats by Dre, Chris Martin talks about the driving force behind Coldplay's latest hit, and it's an interesting amalgamation of some very different types of music. In the video he says he was really taken with the simplicity of what he was listening to at the time.

"I’ll tell you the truth. I was listening to a lot of Katy Perry," Chris says. "A lot of her songs have the same chord sequence the whole time. Your body feels comfortable with them and then the melody’s changing on top, so there’s like a groove you really get into and also you’re kept interested by it."

Chris quickly realized that Katy Perry wasn't the only artist to write songs like that: "Then I realized all these other people have done that — Nirvana being a classic example. 'Smells Like Teen Spirit' is the same chord sequence basically the whole time."

But that's not all. Chris goes on to talk about how, in addition to sticking with a basic chord progression he could play over and over, he wanted 'A Sky Full of Stars' to have an EDM feel.

"That song really ended up being inspired by EDM, which some people turn their noses up at but then you go and see an EDM thing and people are so together and having the best time," he said. "So I was like f— it, I love that stuff, so I want us to have a song that comes from that world."

After getting some help from famed EDM DJ Avicii, they went through the painstaking process of putting both Avicii’s version and Coldplay’s version together —  which took weeks.

It looks like it was well worth it, though, considering the response Coldplay have received when they play the song live. “So far when we’ve played 'A Sky Full of Stars' ... there’s such a collective feeling."

Check out the video above! (Warning: There's some NSFW language.)

See Yearbook Photos of Katy Perry + More!