I bought this software last month (it was free before...),it helps me greatly,as a beginner, to learn how to recognize notes on a staff, I am now much better than before. You can hook it to your digital piano with midi, it works perfectly. I have not try with a song so far, I am using the random mode.
You can also try a completely free web based product : http://www.sightreadingpractice.com
It is not very pretty, but it works. It is said that you can use the midi connection, but I did not try it.