Music Ace 2 provides 2000 musical examples. You can check notation, rhythm, melody, harmony, intervals, etc. The application contains many lessons to familiarize yourself with the way music is composed.
I recommend checking the official website to see the available lessons and to acquire additional data about the application.
Official website: http://harmonicvision.com/ma2fact.htm