| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Runtime/MIDIDevice/Source/MIDIDevice/Public/MIDIDeviceController.h |
Include |
#include "MIDIDeviceController.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(BlueprintType)
class UMIDIDeviceController : public UObject
Name | Description | ||
---|---|---|---|
|
DeviceID |
The unique ID of this device |
|
|
DeviceName |
The name of this device. This name comes from the MIDI hardware, any might not be unique |
|
|
MIDIBufferSize |
Size of the MIDI buffer in bytes |
|
|
OnMIDIEvent |
Register with this to find out about incoming MIDI events from this device |
|
|
void * |
PMMIDIInputStream |
The PortMidi stream used for MIDI input for this device |
Name | Description | |
---|---|---|
|
~UMIDIDeviceController() |
Destructor that shuts down the device if it's still in use |
Name | Description | ||
---|---|---|---|
|
ProcessIncomingMIDIEvents() |
Called every frame by UMIDIDeviceManager to poll for new MIDI events and broadcast them out to subscribers of OnMIDIEvent. |
|
|
ShutdownDevice() |
Called during destruction to clean up this device. Don't call this directly. |
|
|
StartupDevice |
Called from UMIDIDeviceManager after the controller is created to get it ready to use. |