Research->Computer Music->Production
This page shows how to make homepage with BGM by your own composition.
Step 1 : Setting up MIDI environment
First, you have to set up your PC. Since visitor of your homepage may use Netscape Navigator or Internet Explore, you should have both browsers. You also need plug-ins for these browsers such as YAMAHA MidPlug. 
You need some midi devices. If you have a synthesizer or a sound generator, you may connect it to your PC. If you do not have any of these, you may use software synthesizer. There are several types of MIDI devices. XG and GS are two standards of MIDI. Device with different standard generates different sound. So if you want to create MIDI files for everyone, you should have both XG and GS devices. 
You also need a sequence soft to make MIDI file. If you do not have a sequence soft, you can get one at web sites that provides freeware download service such as shareware.com. 
Web Browser 
Netscape Navigator
Internet Explorer
Software Synthesizer 
YAMAHA MidPlug
ROLAND Virtual Sound Canvas
Step 2 : Creating MIDI file 
You create a MIDI file in this step using a sequence soft. If you do not have a sequence soft, you can get one at web sites that provides freeware download service such as shareware.com. Some sequence software use different file format from MIDI. However, most of these sequence software supports MIDI file format. You have to select a MIDI standard among XG, GS and GM. Since GM is the common standard, it may be safe choice, although it is weak of musical expression. You have to put a reset command of XG, GS, or GM at the begining of the first major. You begin your music from the second major. The reason why you have to do this is to have waiting time for reset command processing. 
Freeware Download Site 
Shareware.com
Sequence software information site 
Cakewalk
Music composition tips 
Site Information Wanted! 
Step 3 : Midi file size reduction
When you attach a midi file to your web site, you should be careful of the file size. The simplest way to reduce file size is to reduce the number of notes. However, there is another way. There is a software that reduces midi file size and holds the tune unchanged. You can download the software from Mr. Sugama's web site if you can read Japanese. 
There is one more thing that you should know. There are several format for MIDI such as format 0 and format 1. For the same tune, format 0 is smaller than format 1. The Automated Composing System generates a MIDI file with format 0. So, after editing the file, save it as format 0 again. 
Midi file size reduction tool
Mr. Sugama's web site
Step 4 : Attaching Midi file to your homepage
First, you should upload the MIDI file to your web site. Then you rewrite HTML codes of your homepage. Add a command to play the MIDI file into HTML codes of the page that you want to attach BGM and upload it. You should write different commands for different web browsers. Netscape uses "EMBED" tag while Internet Explorer uses "BGSOUND" tag. If you use "EMBED" tag, it may valid for both browsers. If you want to have the BGM repeat, you should set TRUE for both "LOOP" and "REPEAT." If you want to be perfect, you can use JAVA script to distinguish which browser is in use. 
Site that explains how to attach MIDI to homepage 
Miningco.com
Step 5 : Testing
You should test what you have done. You should use both Netscape and Internet Explorer when you test your homepage. You also should listen to your tune using both XG and GS devices and check if it sounds good.