There ARE programs about which can analyse sounds and report on the musical notes, but only, as far as I know, for a single melody line, not a whole orchestra. I have long been considering this as a project, but it is highly mathematical, using Fourier Transforms etc. to obtain a spectrum from the sound.