Midi Player Tool Kit for Unity  Version 2.86
Add Music in your Unity 3D games or applications from Midi files or from Algo.
Class Hierarchy
This inheritance list is sorted roughly, but not completely, alphabetically:
[detail level 123]
 CMidiPlayerTK.MidiFileLoaderScript associated to the prefab MidiFileLoader. No sequencer, no synthetizer, no music playing capabilities. Usefull to load all or part of the Midi events from a Midi and process, transform, write them to what you want. List of Midi file must be defined with Midi Player Setup (see Unity menu MPTK)
 CMidiPlayerTK.MidiFileWriter2[MPTK PRO] - Write a midi file from differents sources based on NAudio frawemork. See full example TestMidiWriter.cs with a light sequencer. This class replaced MidiFileWriter with these changes: channel start at 0, new specfic event, better control. More information here: https://paxstellar.fr/class-midifilewriter2/
 CMidiPlayerTK.MidiKeyboardSend and receive Midi Message from a Midi keyboard connected to the device https://paxstellar.fr/class-midikeyboard/
 CMidiPlayerTK.MidiListPlayer[MPTK PRO] - Script for the prefab MidiListPlayer. Play a list of pre-selected midi file from the dedicated inspector. List of Midi files must exists in MidiDB. See Midi Player Setup (Unity menu MPTK)
 CMidiPlayerTK.MidiListPlayer.MPTK_MidiPlayItemDefine a midi to be added in the list
 CMidiPlayerTK.MidiLoadClass for loading a Midi file. No sequencer, no synthetizer, so music playing capabilities. Usefull to load all the Midi events from a Midi and process, transform, write them to what you want.
 CMidiPlayerTK.MidiPlayerGlobalSingleton class to manage all global features of MPTK. More information here: https://paxstellar.fr/midiplayerglobal/
 CMidiPlayerTK.MidiSynth
 CMidiPlayerTK.MidiFilePlayerScript associated to the prefab MidiFilePlayer. Simply, play a Midi file. Midi files must be defined from the Unity menu MPTK in the Unity editor. There is no need to writing a script. For a simple usage, all the job can be done in the prefab inspector
 CMidiPlayerTK.MidiExternalPlayer[MPTK PRO] - Script associated to the prefab MidiExternalPlayer.. Play a midi file from a path on the local deskop or from a web site. There is no need to writing a script. For a simple usage, all the job can be done in the prefab inspector
 CMidiPlayerTK.MidiSpatializer[MPTK PRO] - Script associated to the prefab MidiSpatializer. It's quite light because the major job is done with MidiSynth There is no specific API for this prefab. Scripting is necessary to defined position of channel or instrument in your 3D env
 CMidiPlayerTK.MidiInReader[MPTK PRO] - Script associated to the prefab MidiInReader. Read Midi events from a Midi keyboard connected your device (Windows 10 or MacOS). See example of use in TestMidiInputScripting.cs There is no need to writing a script. For a simple usage, all the job can be done in the prefab inspector
 CMidiPlayerTK.MidiStreamPlayerPlay generated notes. Any Midi file is necessary rather create music from your own algorithm with MPTK_PlayEvent(). Duration can be set in the MPTKEvent, but a note can also be stopped with MPTK_StopEvent()
 CMidiPlayerTK.MPTKChordBuilder[MPTK PRO] Chord builder class for MPTK. Usefull to generate Midi Music with MidiStreamPlayer - V2.82 See example in TestMidiStream.cs and ExtStreamPlayerPro.cs
 CMidiPlayerTK.MPTKChordLib[MPTK PRO] - Load library of chord from ChordLib.csv in folder Resources/GeneratorTemplate.csv - V2.82 new
 CMidiPlayerTK.MPTKEventMidi Event class for MPTK. Use this class to generate Midi Music with MidiStreamPlayer or to read midi events from a Midi file with MidiLoad or to receive midi events from MidiFilePlayer OnEventNotesMidi. With this class, you can: play and stop a note, change instrument (preset, patch, ...), change some control as modulation See here https://paxstellar.fr/class-mptkevent
 CMidiPlayerTK.MPTKRangeLib[MPTK PRO] - Load library of scale from GammeDefinition.csv in folder Resources/GeneratorTemplate.csv - V2.82 new