Maestro - Midi Player Tool Kit for Unity Version 2.18.2
Loading...
Searching...
No Matches
Real-Time MIDI Messages Workflow

Create, send, and stop MPTKEvent instances at runtime.

The core flow is:

Single-Event Flow

This is ideal for keyboard keys, game triggers, and one-shot responses.

Batch Flow

For grouped actions, pass a List<MPTKEvent> to MPTK_PlayEvent(). This is useful for short phrases, layered notes, and synchronized bursts.

Common Mistakes

  • Missing channel/velocity/value for NoteOn events.
  • Using very long durations without explicit stop strategy.
  • Mixing file-playback expectations (transport timeline) with live event workflows.
See also
MidiPlayerTK.MidiStreamPlayer.MPTK_PlayEvent
MidiPlayerTK.MidiStreamPlayer.MPTK_StopEvent
MidiPlayerTK.MPTKEvent
MPTKEvent Concept and Data Model