![]() |
Maestro - Midi Player Tool Kit for Unity Version 2.18.2
|
Play and stop MIDI events in real time. More...
Functions | |
| void | MidiPlayerTK.MidiStreamPlayer.MPTK_StartMidiStream () |
| Forces initialization of MidiStreamPlayer. Useful when another component needs to send MIDI commands as soon as the application starts. | |
| void | MidiPlayerTK.MidiStreamPlayer.MPTK_PlayEvent (MPTKEvent mptkEvent) |
| Plays one MIDI event from an instance of MPTKEvent. Runs in a thread so the call returns immediately. See also the method MPTK_StopEvent to stop a note from an instance of MPTKEvent. | |
| void | MidiPlayerTK.MidiStreamPlayer.MPTK_StopEvent (MPTKEvent mptkEvent) |
| Stops a currently playing note. All samples associated with the note are stopped by sending a note-off. The parameter must be an MPTKEvent instance previously used with MPTK_PlayEvent. | |
Play and stop MIDI events in real time.
This chapter covers event-by-event live playback.
| void MidiPlayerTK.MidiStreamPlayer.MPTK_StartMidiStream | ( | ) |
Forces initialization of MidiStreamPlayer. Useful when another component needs to send MIDI commands as soon as the application starts.
| void MidiPlayerTK.MidiStreamPlayer.MPTK_PlayEvent | ( | MPTKEvent | mptkEvent | ) |
Plays one MIDI event from an instance of MPTKEvent. Runs in a thread so the call returns immediately. See also the method MPTK_StopEvent to stop a note from an instance of MPTKEvent.
| mptkEvent | Instance of MPTKEvent to play. |
| void MidiPlayerTK.MidiStreamPlayer.MPTK_StopEvent | ( | MPTKEvent | mptkEvent | ) |
Stops a currently playing note. All samples associated with the note are stopped by sending a note-off. The parameter must be an MPTKEvent instance previously used with MPTK_PlayEvent.
| mptkEvent | MPTKEvent instance used to start the note with MPTK_PlayEvent. |