Question: who wrote the music for the harry potter movies
Answer: The scores were composed by John Williams , Patrick Doyle , Nicholas Hooper , and Alexandre Desplat .