Midi Player Tool Kit API Documentation is crucial to integrate Maestro in your Unity script. For a Quick Start, it’s better to read the up-to-date version go to this page and here a direct link to the API reference.
Use case: you want to generate music with an instrument (preset, patch, program, there is a lot of synonyms!) other than Piano at the startup of your application. By default when the synthesizer is loaded, all channels are set with Read more…
Timing in music is very important. So MIDI files include a number of parameters related to keeping time. A lot of information here has been extracted from https://majicdesigns.github.io/MD_MIDIFile/page_timing.html Look also at this post to understand how get a verify good Read more…
Timing accuracy MIDI Sequencer and Audio Synthesizer run in separate system threads, not in the Unity thread, consequently playing music has no impact on your game or application timing. You can modify Unity Audio Parameters from the MPTK prefab. So, Read more…
This video is a comparison of three Midi files playing in V1 and V2. For the first one (Adagio) the difference is not so obvious, but for the two others, it’s clear!
MPTK is operational on Windows, Mac OS, IOs and Android. Warning: with Mac M1 and M2 architecture, in some case the DSP buffer length is not a multiple of 64: no sound will be produced or error will be displayed. Read more…
See below the change with the V2: New Midi Synthesizer based on the excellent fluidsynth project. Code has been converted from C to C# and, of course adapted to Unity. New class MidiLoad. Useful to load and process all the Read more…
The MPTK Pro version comes without any SoundFont, sample or MIDI files. The reasons are : Get a small package to speed up the update process. Don’t interfere with your project. Let you make your best choice! If you really Read more…
Audio Source Template MidiFilePlayer and MidiStreamPlayer gameobject contains an AudioSource template. This audio source is used as a template to play each sounds in your Midi File Player. An AudioSource is instantiated when there is the need to play a Read more…