MusIT

Setup Maestro MPTK – Add MIDI files

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

Open MIDI Setup
Open MIDI Setup

This popup windows is displayed :

MIDI DB
MIDI DB
  • 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.

MIDI File Main Properties
MIDI File Main Properties

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.

MIDI Raw Display
MIDI Raw Display

Play the MIDI!

Play Directly in Unity Editor
Play Directly in Unity Editor

Get MPTK from the Unity store

If you like Midi Player Tool Kit, please leave a review on the Asset Store. It’s very appreciated!!!

Maestro MPTK on ChatGPT!

From different MPTK documentation sources DarkSky42 has created a custom LLM based on ChatGPT. You are now able to ask all the questions you want and get a good level of response, request code example, verify your source code …

Contact

If you have questions, please don’t hesitate to contact us via the dedicated Unity forum or our Discord  channel.

Reach the Discord archive by topic.

We are always happy to discuss your projects!

Add MIDI Music With 3 Clicks for Free

Sound Spatialisation, MPTK is ready for Virtual Reality [Pro]

Sound Spatialisation, MPTK is ready for Virtual Reality [free]

Midi Synth : Real Time Voice Effect Change

Euclidean Rhythm demo

The Deezer playlist that helped me create Maestro