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
Chocolate film adaptations of the novel were produced. The first was "Willy Wonka & the Chocolate Factory", a 1971 film which later became a cult classic, and spawned the real world Willy Wonka Candy Company, which produces chocolate products to this day. Thirty-four years later, a second film adaptation was produced, titled "Charlie and the Chocolate Factory". The 2005 film was very well received by critics and was one of the highest-grossing films that year, earning over US$470,000,000 worldwide. "Charlie and the Chocolate Factory" was also recognized at the 78th Academy Awards, where it was nominated for Best Costume Design for