Prefab MidiInReader

MidiInReader is a Prefab, available with the Pro version, that can be used to read Midi events from your Midi keyboard connected to your computer (Windows 10 or MacOs). Moreover, without any scripting, you can play audio directly with the MPTK Synth. By script, you can process each Midi Events to do … what you want to do !

Only one MidiInReader is allowed by project. There is no sense to have more than one !

Installation

The prefab MidiInReader is based on the core function of “MIDI Jack” from Keijiro Takahashi. It’s a MIDI input plugin for Unity.

If you want to download the last version or get more information, see here the Keijiro Takahashi git page.

Parameters

  • Read Midi Events: Midi events from the keyboard are read.
  • Log Midi Events: log information about events in console.
  • Send To MPTK Synth: midi events are played in real time with the internal MPTK synth.
  • On Event Input Midi: be notified when a new event is read from your keyboard. Trigger a method in your script and do … what you want to do !

When running the TestMidiInReader demo:

Others Foldout