Navigation
API > API/Plugins > API/Plugins/MIDIDevice
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBlueprintFunctionLibrary
- UMIDIDeviceManager
References
| Module | MIDIDevice |
| Header | /Engine/Plugins/Runtime/MIDIDevice/Source/MIDIDevice/Public/MIDIDeviceManager.h |
| Include | #include "MIDIDeviceManager.h" |
Syntax
UCLASS&40;&41;
class UMIDIDeviceManager : public UBlueprintFunctionLibrary
Functions
| Type | Name | Description | |
|---|---|---|---|
| UMIDIDeviceController * | CreateMIDIDeviceController
(
const int32 DeviceID, |
Creates an instance of a MIDI device controller that can be used to interact with a connected MIDI device | |
| UMIDIDeviceInputController * | CreateMIDIDeviceInputController
(
const int32 DeviceID, |
Creates an instance of a MIDI device controller that can be used to interact with a connected MIDI device | |
| UMIDIDeviceOutputController * | CreateMIDIDeviceOutputController
(
const int32 DeviceID |
Creates an instance of a MIDI output device controller that can be used to interact with a connected MIDI device | |
| void | FindAllMIDIDeviceInfo
(
TArray< FMIDIDeviceInfo >& OutMIDIInputDevices, |
Enumerates all of the MIDI input and output devices and reports back useful infos such as IDs and names of those devices. | |
| void | FindMIDIDevices
(
TArray< FFoundMIDIDevice >& OutMIDIDevices |
Enumerates all of the connected MIDI devices and reports back with the IDs and names of those devices. | |
| void | GetDefaultMIDIInputDeviceID
(
int32& DeviceID |
Retrieves the default MIDI input device ID. | |
| void | GetDefaultMIDIOutputDeviceID
(
int32& DeviceID |
Retrieves the default MIDI output device ID. | |
| void | GetMIDIInputDeviceIDByName
(
const FString DeviceName, |
Retrieves the MIDI input device ID by name. | |
| void | GetMIDIOutputDeviceIDByName
(
const FString DeviceName, |
Retrieves the MIDI output device ID by name. | |
| void | Called every frame to look for any new MIDI events that were received, and routes those events to subscribers. | ||
| void | Shuts down any existing midi devices to ensure no dangling streams are left, and mark any input or output controller for cleanup | ||
| void | Called from FMIDIDeviceModule to shutdown the device manager. Don't call this yourself. | ||
| void | Called from FMIDIDeviceModule to startup the device manager. Don't call this yourself. |
Constants
| Name | Description |
|---|---|
| bIsInitialized | True if everything is initialized OK |
| MIDIInputDevicesInfo | MIDI input devices info |
| MIDIOutputDevicesInfo | MIDI output devices info |