![]() |
Maestro - Midi Player Tool Kit for Unity Version 2.18.2
|
React to playback start, end, and groups of MIDI events. More...
MIDI Events | |
| EventNotesMidiClass | MidiPlayerTK.MidiFilePlayer.OnEventNotesMidi |
| Method triggered for each MIDI event (or group of MIDI events) ready to be played by the MIDI synth. All these events are on same MIDI tick . The callback method is able to directly interacts with Unity gameObject (same thread). A List<MPTKEvent> is passed to the delegate. | |
| EventStartMidiClass | MidiPlayerTK.MidiFilePlayer.OnEventStartPlayMidi |
| Define the Unity event to be triggered at the start of Midi playback. At this moment, the MIDI file is loaded, the MIDI synth is initialised, but no MIDI event has been read yet. This is the right time to defined some specific behaviors. | |
| EventEndMidiClass | MidiPlayerTK.MidiFilePlayer.OnEventEndPlayMidi |
| Specify the Unity event that is triggered when the end of the MIDI list of events is reached. | |
React to playback start, end, and groups of MIDI events.
| EventNotesMidiClass MidiPlayerTK.MidiFilePlayer.OnEventNotesMidi |
Method triggered for each MIDI event (or group of MIDI events) ready to be played by the MIDI synth. All these events are on same MIDI tick
. The callback method is able to directly interacts with Unity gameObject (same thread).
A List<MPTKEvent> is passed to the delegate.
| EventStartMidiClass MidiPlayerTK.MidiFilePlayer.OnEventStartPlayMidi |
Define the Unity event to be triggered at the start of Midi playback.
At this moment, the MIDI file is loaded, the MIDI synth is initialised, but no MIDI event has been read yet.
This is the right time to defined some specific behaviors.
| EventEndMidiClass MidiPlayerTK.MidiFilePlayer.OnEventEndPlayMidi |
Specify the Unity event that is triggered when the end of the MIDI list of events is reached.