leenia, Notewothy is a notation program that uses Midi. Many do for at least for playback.
What you find with software is that it specialises in one side but handles the other to some degree or other.
For the other side, take a look at sequencer software