This package is a plug-in that adds a Midi loopback to Minis, allowing feedback to be sent to the Midi controller.
Be sure to install Minis and InputSystem before installing the package.
Then install it from the package manager.
The following two scripts are required to loop back.
- Singleton Midi Device Manager
- MidiLoopOut
Attach each of the two scripts to an arbitrary object. MidiLoopOut" should be attached to the object where the PlayerInput component resides.
A common use of this package is to utilize the firing events of InputAction. MidiLoopOut" provides two examples of "OnActionLoopBack" and "DebugLogAndLoopBack" that can be registered as events.
- Device Name:The name of the device to loop back to. Partial match.
- Channel : Specify the channel you wish to transmit(1~16).
Finally, to avoid collision of midi signals when multiple devices are connected, use the "Midi Device Assigner" included in Minis to limit the devices that can fire events.
Usually, the same device specified in "MidiLoopOut" can be used for loopback. It is also possible to specify a different device.