Software to record Voip

Say, using Windows7. We would like to play back old audio cassettes into the microphone jack of the PC and record the audio and edit it going forward. Please suggest software to do the recording and the editing.
Thank you