Playing A Random Midi File

This page demonstrates the use of the random midi script. Every time you view this page, a different midi file will play.

How To Use

  1. Create a directory called midis
  2. Put all of your midi files in that folder. They must end in .mid (lowercase)
    Put nothing else in this directory.

Embed the random-midi file into your Sigbox:


<embed src="http://YOURDOMAIN.COM/cgi-bin/random-midi.cgi" width="0" height="0" autostart="true" loop="true"> <noembed><bgsound src="http://YOURDOMAIN.COM/cgi-bin/random-midi.cgi" loop="true"> </noembed></embed>


If you want the random midis on a webpage:
insert the following code on your html page.


<embed src="/cgi-bin/random-midi.cgi" width="0" height="0" autostart="true" loop="true"> <noembed><bgsound src="/cgi-bin/random-midi.cgi" loop="true"> </noembed></embed>


MSNTV NOT AT ARBOR HOSTING:

You should have in your main directory

a directory of midis.....called midis
a directory of mods...called mods
and the cgi script for the midi player
Then this in your sigbox

<embed src="http://YOURDOMAIN.COM/cgi-bin/random-midi.cgi" width="0" height="0" autostart="true">