Cubase, Digital Performer and Logic are popular choices and all have MIDI "sequencers" incorperated in them...A MIDI sequencer is a program designed to record, edit and playback MIDI commands...Each of the mentioned programs also have the ability to record, edit and playback full audio, as well...Other options are ProTools, Logic and Ableton...There is also a good deal of freeware out there...