MIDI, in a nutshell
MIDI stands for Musical Instrument Digital Interface. MIDI is a technical standard enabling communication between electronic musical instruments, computers, and other related devices. It transmits digital messages, not audio signals, detailing musical instructions like note selection, pitch, timing, and dynamics. This technology allows musicians to manage several instruments from one device and simplifies the editing and manipulation of music.
The incredible thing about MIDI music is the vast variety of pieces available, often free of charge, on the internet. For more official information about MIDI, visit this website.
MIDI as file is a well-known format for playing music.
Download MIDI File
For finding and downloading interesting MIDI files, consider exploring various online resources that offer a wide range of options.
- http://www.midiworld.com it’s an extensive free MIDI site offering a diverse range of genres: classic, pop, rock, rap, dance, punk, blues, country, movie themes, tv themes, Christmas carols, video game themes, Disney themes, national anthems, jazz , hip-hop.
- https://www.vgmusic.com huge library of MIDI video game. Started in 1996, thousands MIDI files are available.
- http://www.midishrine.com another site specialized in MIDI video games.
Implementing the MIDI standard in an application can be quite complex. Fortunately, MPTK hides all the complex details, making it fast and simple to add MIDI files. Just navigate to Maestro / Midi File Setup in the Unity main menu.
Import MIDI File to Maestro MPTK
This popup windows is displayed :
- Button “Add a MIDI File” : add a MIDI File (filename of type .mid) from your computer to MIDI Player Tool Kit.
- Button “Add From Folder” : add all the MIDI Files found in a folder (filename of type .mid).
- Button Open Folder : open the folder containing all your MIDI files. Copy your MIDI files in this folder to imports directly MIDI files in your project.
- Select a MIDI File : (optional) read the Midi file and display information in the right panel : tempo, patch, copyright, …
- Button X : delete the MIDI File from the list
Now, your MIDIs are ready to be played with your application. See here how to.
Tips :
- Demo video here
- Don’t forget to ask authorization for copyrighted resources!
Explore your MIDI content
With the panel on the right, you can explore the contents of the MIDI file and even play it directly within the Unity Editor! Explore mode display: Stat, Raw, Player.
Mode Display Stat
Main properties of the MIDI are displayed.
Mode Display Raw
Each MIDI event is read by the MIDI file reader without any alterations made by MPTK, providing the most effective way to check the content of your MIDI files.