I've developed a free software to learn and train to read music : http://www.jalmus.net

With a midi keyboard you can train on notes :

Or on rhythms (version 1.5) :

Teachers can create lesson files (XML) with progressive exercises (not rhythms yet).

I have in my «To do list» to mixed both exercises on notes and rhythms.

RICHARD Christophe