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