The only way the copyright could belong to the author of the program, is if the program contained copyrighted material that it copied directly into the output.
For example, if the program contained 1000 prewritten melodies, and randomly selected one and copied it into the output.