Hi, ...next time just ask the question..it was pretty confusing trying to follow your thinking!
If you want to record both midi and audio you need a sequencer software sequencer that goes in the computer) that supports both midi and audio channels. Cubase and Cakewalk are two good hits. These both support real audio channel recording and playback along with midi channels.
The procedure in short would be
a) hook up your controller to the midi port of the soundcard.
b) record your midi tracks with the sequencer
c) hook up your audio source to the line-in of the card
d) record your audio in the sequencer.
You can do it the other way round or both togetrher. It seems that you are new to this so it might take some time before you will understand all, but what you really need is a sequencer that supports both audio and midi, a soundcard that can record from external audio sources (Soundblaster for example)and a controller hooked up the midi port of the card.
Hope that helped