Navigation
API > API/Plugins > API/Plugins/MIDIDevice
| Name | UMIDIDeviceInputController |
| Type | class |
| Header File | /Engine/Plugins/Runtime/MIDIDevice/Source/MIDIDevice/Public/MIDIDeviceInputController.h |
| Include Path | #include "MIDIDeviceInputController.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType)
class UMIDIDeviceInputController : public UMIDIDeviceControllerBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMIDIDeviceControllerBase → UMIDIDeviceInputController
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~UMIDIDeviceInputController() |
Destructor that shuts down the device if it's still in use | MIDIDeviceInputController.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnMIDIAftertouch | FOnMIDIAftertouch | Register with this to receive incoming MIDI Aftertouch events from this device | MIDIDeviceInputController.h |
|
| OnMIDIChannelAftertouch | FOnMIDIChannelAftertouch | Register with this to receive incoming MIDI Channel Aftertouch events from this device | MIDIDeviceInputController.h |
|
| OnMIDIControlChange | FOnMIDIControlChange | Register with this to receive incoming MIDI Control Change events from this device | MIDIDeviceInputController.h |
|
| OnMIDINoteOff | FOnMIDINoteOff | Register with this to receive incoming MIDI Note Off events from this device | MIDIDeviceInputController.h |
|
| OnMIDINoteOn | FOnMIDINoteOn | Register with this to receive incoming MIDI Note On events from this device | MIDIDeviceInputController.h |
|
| OnMIDIPitchBend | FOnMIDIPitchBend | Register with this to receive incoming MIDI Pitch Bend events from this device | MIDIDeviceInputController.h |
|
| OnMIDIProgramChange | FOnMIDIProgramChange | Register with this to receive incoming MIDI Program Change events from this device | MIDIDeviceInputController.h |
|
| OnMIDIRawEvent | FOnMIDIRawEvent | Register with this to receive all of the MIDI events from this device | MIDIDeviceInputController.h |
Functions
Public
Overridden from UMIDIDeviceControllerBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetDeviceName() |
The name of this device. This name comes from the MIDI hardware, any might not be unique | MIDIDeviceInputController.h | |
virtual int32 GetMIDIBufferSize() |
Size of the MIDI buffer in bytes | MIDIDeviceInputController.h | |
virtual void ProcessIncomingMIDIEvents () |
Called every frame by UMIDIDeviceManager to poll for new MIDI events and broadcast them out to subscribers of OnMIDIEvent. | MIDIDeviceInputController.h | |
virtual void ShutdownDevice() |
Called during destruction to clean up this device. Don't call this directly. | MIDIDeviceInputController.h | |
virtual void StartupDevice
(
const int32 InitDeviceID, |
Called from UMIDIDeviceManager after the controller is created to get it ready to use. | MIDIDeviceInputController.h |