![]() |
Maestro - Midi Player Tool Kit for Unity Version 2.18.2
|
High-level MIDI-file playback with transport, timing, loading, and callback APIs. More...
Topics | |
| MIDI Selection | |
| Select which MIDI file will be played. | |
| Playback Controls | |
| Start, stop, pause, resume, replay, and sequence MIDI playback. | |
| Position, Duration, and Timing | |
| Query and control playback position, timing, duration, and speed. | |
| MIDI Loading and Event Reading | |
| Load MIDI content and inspect its event data before or during playback. | |
| Playback Events and Callbacks | |
| React to playback start, end, and groups of MIDI events. | |
| MIDI Channels | |
| Access the 16 MIDI channels managed by the player. | |
| Maestro Pro Extensions | |
| Extended loading, looping, and transition features available in Maestro Pro. | |
Classes | |
| class | MidiPlayerTK.MidiFilePlayer |
| Plays a MIDI file from the MidiDB. This class must be used with the prefab MidiFilePlayer. See "Midi File Setup" in the Unity menu MPTK for adding MIDI in MidiDB. . More... | |
High-level MIDI-file playback with transport, timing, loading, and callback APIs.
MidiFilePlayer is the most user-facing playback component in Maestro MPTK. It is designed to play complete MIDI files through the MidiFilePlayer prefab and exposes a practical API for both inspector-driven workflows and script-based control.
With MidiFilePlayer, you can:
MidiFilePlayer builds on MidiSynth. The class focuses on MIDI-file playback features, while synthesis, channel control, and sound rendering options remain available through the inherited MidiSynth API.
Recommended reading order: