MIDI would simply tell the computer signals that you are playing and what timing. It reaches the computer as just data.
You then need to use software to recognise those signals and do something with them. Logic, Cubase, Project 5 etc will all allow you to assign sounds to each signal. So when...