MIDI files are actually very small, as they use your sound card’s built-in instruments to create the sounds. The problem is that most sound cards don’t have any decent sound to begin with, plus no two sound cards sound the same and so the results are very erratic. MIDI files usually sound like they came from one of those cheap Casio keyboards. Using MIDI for background music is very likely to make your site look sloppy. Do you want to know how to do it anyway? Simply add the line to your site and when the page loads, the file will be played robotically using a command called Autostart. Although professional sound recording packages can be quite expensive, you can try one of the shareware programs available.
The musical instrument digital interface allows music to be recorded or produced by utilizing a data file containing multiple serially numbered program status messages and matching on and off note messages. In contrast, digital audio is usually simply compressed, exploiting a suitable data compression technique, and recorded. The audio content of such a digital recording can then be restored by decompressing the recorded data and converting that data using a digital-to-analog converter. The method and apparatus of the present invention selectively and alternately couple portions of a compressed digital audio file and a MIDI file to a single digital signal processor that alternately decompresses the digital audio file and implements a MIDI synthesizer. Uncompressed audio and MIDI synthesized music are alternately attached to two separate buffers. The stuffing of these buffers is then additively mixed and coupled through a digital-to-analog converter to an audio output device to create an output that has concurrent digital audio and MIDI synthesized music. A technique and equipment for the simultaneous output of digital audio and MIDI synthesized music using a single digital signal processor is presented.
Virtual instruments are computer generated sounds that can be played via MIDI. Traditionally, MIDI was used to send music data to hardware devices like keyboards and sound modules, but computers are now powerful enough to mimic sound modules. In addition, virtual instruments can be loaded into computer memory to play all kinds of sounds instead of connecting cables to an external device to play MIDI tracks, and these tracks can be grouped with audio tracks for processing with effects like reverb and chorus and also played back in perfect sync for a professional sounding result.