That is impossible, the main reason being that midi has nothing at all to do with recorded sound. Midi is a data protocol which can be used to trigger sampled sounds in a wavetable on your soundcard, but it sounds like you want to record continuous .wav audio and play it back. Look up the 'record sound' command though, 'cos if you have something like a soundblaster live soundcard you can use the 'what you hear' setting as your source to record mic input and playback simultaneously.
If on the other hand you want to make midi files you need to find yourself a midi sequencing program, do a google search to find a demo version of one.
In the off topic forum in the thread called ".mid vs .wav" there is a more thorough explanation of the difference between midi files and wave files, on the first page about halfway down I practically wrote an essay on it
ZX Spectrum 48k Issue 3, Radio shack Tape drive, Rank arena 12" T.V. set.