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
Willy Wonka & the Chocolate Factory is actually Mr. Wilkinson, an employee of Wonka, and the offer to buy the Gobstopper was a morality test that only Charlie passed. The trio enter the "Wonkavator", a multi-directional glass elevator that flies out of the factory. Soaring over the city, Wonka reveals that his actual prize is the factory; Wonka created the contest to find an heir worthy enough, and so Charlie and his family can immediately move in. Wonka then reminds Charlie not to forget about the man who suddenly received everything he ever wanted. Charlie asks, "What happened?" to which Wonka replies, "He lived happily ever