Just to add more to this thread:
MIDI is in a sense a "Control language". it can control;
Hardware. eg synthesizer, keyboards, control surfaace, lighting controllers, in fact just about any hardware that needs switching can be controlled by MIDI. often usesd in live shows to control lights, projectors and a host of other hardware devices. Of course the hardware needs an interface between the MIDI data stream and the device that translates the commands into action.
Software. eg softsynths and other control software that interfaces the above hardware.
So in our applications its
usually used to write "music" in a form that is sent to either a software or hardware synth which, with a bit more processing converts it to the audio we hear.
So MIDI always has 2 components. the data (MIDI information itself ) and the device that translates/processes the data into action; in our case the action is converted to audio.
SONAR allows you to make this whole process more transparent and hide info from the user if they choose to by displaying a "Simple instrument" track. If you choose to see more of the information you can, either by using the Inspector or by using the older SONAR way of viewing things by showing a MIDI track (all the data) and an audio track (where the sotfsynth is inserted) which results from the MIDI data being processed through a softsynth.
If your MIDI data is controlling a hardware module (synthesizer, keyoard or sound module) external to SONAR, there is no need for an audio track for a softsynth. Instead you will likely have an audio track/s that recieves the incoming audio from the hardware module. If on the other hand, the MIDI is controlling a lighting rig and cueing the turning on and off of lights, dimmers and other device, then there would simply be a MIDI track in SONAR into which that DATA was written.
one of our forum members is in a band that puts on a full show where SONAR is used to automate controls for lighting, cuing projectors, sound modules and the keyboard player uses it to generate his live sounds as well.
MIDI, despite it's relative simplicity (as far as computer languages go), is a very powerful and flexible means of contolling a vast array of devices.
Hope this helps more than confuses.