Charlie and the Chocolate Factory (franchise) Ross, Rob Minkoff, Martin Scorsese and Tom Shadyac had been involved, while Warner Bros. either considered or discussed the role of Willy Wonka with Nicolas Cage, Jim Carrey, Michael Keaton, Brad Pitt, Will Smith and Adam Sandler. Burton immediately brought regular collaborators Johnny Depp and Danny Elfman aboard. "Charlie and the Chocolate Factory" represents the first time since "The Nightmare Before Christmas" that Elfman contributed to the film score using written songs and his vocals. Filming took place from June to December 2004 at Pinewood Studios in the United Kingdom, where Burton avoided using digital effects as much as possible.
Charlie and the Chocolate Factory (film) shades of chocolate were tested before Burton settled on the proper hue. The original music score was written by Danny Elfman, a frequent collaborator with director Tim Burton. Elfman's score is based around three primary themes: a gentle family theme for the Buckets, generally set in upper woodwinds; a mystical, string-driven waltz for Willy Wonka; and a hyper-upbeat factory theme for full orchestra, Elfman's homemade synthesizer samples and the diminutive chanting voices of the Oompa-Loompas. Elfman also wrote and performed the vocals for four songs, with pitch changes and modulations to represent different singers. The lyrics to the Oompa-Loompa songs