===== Good Midi Directory sites! ===== * [[https://bitmidi.com/|BitMidi.com]], a website that has over 113,000 midi files from different genres, like pop, rock, classical, jazz, and more. * [[https://www.midiworld.com/|MidiWorld.com]], a website that has over 25,000 midi files from different genres, like blues, country, dance, folk, and more. * [[https://freemidi.org/|FreeMidi.org]], a website that has over 70,000 midi files from different genres, like hip hop, metal, reggae, and more. * [[https://midisfree.com/|MIDIs Free]], a website that has over 10,000 midi files from different genres, like anime, games, movies, and more. * [[https://www.cprato.com/|Carlo’s Midi]], a website that has over 3,000 midi files from different genres, like disco, funk, soul, and more. * [[https://groovemonkee.com/pages/free-midi-loops|GrooveMonkee]], a website that has over 10,000 midi files from different genres, like rock, pop, jazz, and more. * [[https://www.mididb.com/|MIDI DB]], a website that has over 5,000 midi files from different genres, like electronic, latin, r&b, and more. ===== Playing a midi on a webpage! ===== ==== Melon's Mini Music Player! ==== Melon created a little premade scrip that played midi's, if you just want a simple copy-paste solution, [[https://forum.melonland.net/index.php?topic=1235.msg10638#msg10638|have a look here]]! ==== Midi JS ==== Often you'll want to convert the midi to a compressed mp3 using your preferred instrument set: a great free program is GSXCC, this is a program that emulates a Famicom (NES) or SCC sound chip in order to play MIDIs. It can make any MIDI file into chiptunes! You can [[https://meme.institute/gxscc/|download it here]]! You can also embed midis directly into a browser using [[https://www.midijs.net/|MIDIjs]]: **Include the MIDIjs script on your web page (put this in the head)**. You can download the script to your site or use this hotlink: ==== Now you can play midis on your site using these JavaScript commands! ==== **Play or stop the MIDI file**. You can use the MIDIjs.play() and MIDIjs.stop() functions to play or stop the MIDI file. For example, you can use this code to play the MIDI file: MIDIjs.play("song.mid"); And this code to stop the MIDI file: MIDIjs.stop();