Pretty much any MIDI sequencer provides this ability.

For scanning music notation into MIDI see
http://www.musitek.com/


[This message has been edited by Nigel (edited 07-19-2010).]