He co-wrote hit stage musicals, worked on James Bond scores including "Goldfinger" and composed music for the Hollywood film "Willy Wonka and the Chocolate Factory."