i am fairly new at this, i plan on getting a digital keyboard which has a MIDI out, i want to use my computer to connect to the keyboard, record the song, and write the score of the song.

how is this done? what software and hardware do i need?

thanks!