Question: who wrote the musical score for pirates of the caribbean
Answer: The music of the film and this album are credited to composer Klaus Badelt and producer Hans Zimmer .