Adding Midi Files to your Webpage
Adding midi files to a webpage is an easy way to add music without using large files such as mp3 for background music.
The most asked question I get is about midi files, "How do I put midi files on my page?" Here is an example of an embedded midi file I have on one of my webpages. ( EMBED src="midifile.mid" width=145 height=30 autostart=true loop=true ). surrounded by brackets
In the same directory as the webpage, place your midi file Replace midifile.mid with the name of your midi file . Width and height display a console on the page. If you do not want a player to display on the web page Enter 1 or 2 for the width and height (0 width and height might cause problems with some players).
If you want the file to automatically start playing when page is loaded use autostart=true If not, autostart=false
loop=true causes the file to play and loop, loop=false plays a file once.
There are several ways for your WWW Browser to access MIDI files (or any files for that matter) from Internet Explorer, or other browsers. In Internet Explorer, this is controlled by the "Programs" tab (under "Tools", then "Internet Options..."). Choose "Internet Programs/Set Programs/Associate a File Type or protocol with a program. In that list, look for ".mid or .midi" in the "Name" column. For those entries, the program in the "Current Default" column determines what program will be used when you click on a MIDI file on a www page.
Some online midi files uses "zipped" files, If the .zip file extension is your Unzip program, such as Winzip, the zipped file can be played by clicking or double clicking the mid file when Winzip show the contents, and it plays!
Also, If you set up your Helper Apps to "play" the midi song when selected with a particular program, you can always save it (download it) instead of playing it by right clicking on a file and choosing the "Save Target as" to save the file to your hard drive. That way, you don't have to delete your "Helper apps" entry for .mid files if you want to save it or have to hunt through your Temporary Internet Files directory, to find the file (which might have a temp name, like "GK8DETHN" or something) - 18758
The most asked question I get is about midi files, "How do I put midi files on my page?" Here is an example of an embedded midi file I have on one of my webpages. ( EMBED src="midifile.mid" width=145 height=30 autostart=true loop=true ). surrounded by brackets
In the same directory as the webpage, place your midi file Replace midifile.mid with the name of your midi file . Width and height display a console on the page. If you do not want a player to display on the web page Enter 1 or 2 for the width and height (0 width and height might cause problems with some players).
If you want the file to automatically start playing when page is loaded use autostart=true If not, autostart=false
loop=true causes the file to play and loop, loop=false plays a file once.
There are several ways for your WWW Browser to access MIDI files (or any files for that matter) from Internet Explorer, or other browsers. In Internet Explorer, this is controlled by the "Programs" tab (under "Tools", then "Internet Options..."). Choose "Internet Programs/Set Programs/Associate a File Type or protocol with a program. In that list, look for ".mid or .midi" in the "Name" column. For those entries, the program in the "Current Default" column determines what program will be used when you click on a MIDI file on a www page.
Some online midi files uses "zipped" files, If the .zip file extension is your Unzip program, such as Winzip, the zipped file can be played by clicking or double clicking the mid file when Winzip show the contents, and it plays!
Also, If you set up your Helper Apps to "play" the midi song when selected with a particular program, you can always save it (download it) instead of playing it by right clicking on a file and choosing the "Save Target as" to save the file to your hard drive. That way, you don't have to delete your "Helper apps" entry for .mid files if you want to save it or have to hunt through your Temporary Internet Files directory, to find the file (which might have a temp name, like "GK8DETHN" or something) - 18758
About the Author:
Cliff Odenkirk is the webmaster for Midicity.com music and entertainment news as well as an accomplished midi musician. You can find more music news and articles at Midicity.com music and entertainment articles
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home