If there is a contribution from a human, then it would be from the user who entered some parameters and ran the program, not the author of program. Therefore the copyright would belong to the user, which is fine.
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.