C:\ Home » Stuff » Midi


(midi files currently unavailable)


 Enhance your midiventure with these various useful tools!

[JS] Midi Player
Would you like to include a MIDI file on your web page? Here is a simple script that should work with all major web browsers. Be sure to replace with the URL to your file. Either use a separate JS file to include this code, or enter it in your document header.

<!--//specify FULL path to midi
var musicsrc=""
if (navigator.appName=="Microsoft Internet Explorer")
document.write('<bgsound src='+'"'+musicsrc+'"'+' loop="infinite">')
document.write('<embed src=\"'+musicsrc+'\" hidden="true" border="0" width="20" height="20" autostart="true" loop="true">')
  • /download.php?midi_random.js" target="_blank">Download as file

[JS] Random Midi Player
For those of you who are not satisfied with one background tune, here is a script that plays a random tune from a defined selection every time a user loads your web page, simple, and useful! Replace the "file.mid"texts with your own filenames, they should be in the same directory as both this javascript and the page using it (if you chose to use separate files). You can add as many random midis as you like by adding a line after var mid1 = "file.mid" and a block at the end of the script, remember to add +1 to the number for every line, and add to all other 3s to whatever number of MIDIs you have added to the script. You may reduce the amount played as well, but if you do not want many MIDIs I suggest you use the above instead. ^

midis = 3
var mid1 = "file.mid"
var mid2 = "file2.mid"
var mid3 = "file3.mid"

num = parseInt(Math.random() * 3);
while (num > midis) {
num = parseInt(Math.random() * 3);
if (num == 0) {
document.write ("<embed src=\""+mid1+"\" loop=\"true\" hidden=\"true\">");
if (num == 1) {
document.write ("<embed src=\""+mid2+"\" loop=\"true\" hidden=\"true\">");
if (num == 2) {
document.write ("<embed src=\""+mid3+"\" loop=\"true\" hidden=\"true\">");
  • /download.php?midi_random.js" target="_blank">Download as file

This is a simple audio organizer that lets you find all music you are looking for, assuming they are already on your hard drive, midi files too. Works nice and easy, searches all audio formats and opens them up using your default audio player.

Other Software
See these two pages for long lists of MIDI related free & software that let you convert, modify and create your own MIDI music!

About Midi Files

MIDI stands for Musical Instrument Digital Interface.

These files are built upon a simple protocol that allows electronic instruments to talk to each other and to computers. Because MIDI files contain only a series of commands (such as note on, note off), they are very small and efficient, but also very limited in performance.
MIDI files are however ideal for use on various programming platforms, as they take up little resources and still provide good background melodies, not to mention their significant qualities regarding Karaoke.

If you were born before the nineteenninetees you may have played quite a few video games that used this protocol as their only source of sound, if so this may bring a stream of nostalgia into your life. Wink
If you want more information, please refer to this article.

Privacy   Copyright   Sitemap   Statistics   RSS Feed   Valid XHTML   Valid CSS   Standards

© 2024
Keeping the world since 2004.