Navigation
API > API/Plugins > API/Plugins/MIDIDevice
| Name | UMIDIDeviceManager |
| Type | class |
| Header File | /Engine/Plugins/Runtime/MIDIDevice/Source/MIDIDevice/Public/MIDIDeviceManager.h |
| Include Path | #include "MIDIDeviceManager.h" |
Syntax
UCLASS (MinimalAPI)
class UMIDIDeviceManager : public UBlueprintFunctionLibrary
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintFunctionLibrary → UMIDIDeviceManager
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| bIsInitialized | bool | True if everything is initialized OK | MIDIDeviceManager.h |
| MIDIInputDevicesInfo | TArray< FMIDIDeviceInfo > | MIDI input devices info | MIDIDeviceManager.h |
| MIDIOutputDevicesInfo | TArray< FMIDIDeviceInfo > | MIDI output devices info | MIDIDeviceManager.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UMIDIDeviceController * CreateMIDIDeviceController
(
const int32 DeviceID, |
Creates an instance of a MIDI device controller that can be used to interact with a connected MIDI device | MIDIDeviceManager.h |
|
static UMIDIDeviceInputController * CreateMIDIDeviceInputController
(
const int32 DeviceID, |
Creates an instance of a MIDI device controller that can be used to interact with a connected MIDI device | MIDIDeviceManager.h |
|
static 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 | MIDIDeviceManager.h |
|
static 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. | MIDIDeviceManager.h |
|
static void FindAllMIDIDeviceInfoInternal
(
TArray< FMIDIDeviceInfo >& OutMIDIInputDevices, |
Implementation of FindMIDIDeviceInfo that does't reinitialize the Device Manager. | MIDIDeviceManager.h | |
static void FindMIDIDevices
(
TArray< FFoundMIDIDevice >& OutMIDIDevices |
Enumerates all of the connected MIDI devices and reports back with the IDs and names of those devices. | MIDIDeviceManager.h |
|
static void FindMIDIDevicesInternal
(
TArray< FFoundMIDIDevice >& OutMIDIDevices |
Implementation of FindMIDIDevices that does't reinitialize the Device Manager. | MIDIDeviceManager.h | |
static void GetDefaultMIDIInputDeviceID
(
int32& DeviceID |
Retrieves the default MIDI input device ID. | MIDIDeviceManager.h |
|
static void GetDefaultMIDIOutputDeviceID
(
int32& DeviceID |
Retrieves the default MIDI output device ID. | MIDIDeviceManager.h |
|
static void GetMIDIInputDeviceIDByName
(
const FString DeviceName, |
Retrieves the MIDI input device ID by name. | MIDIDeviceManager.h |
|
static void GetMIDIOutputDeviceIDByName
(
const FString DeviceName, |
Retrieves the MIDI output device ID by name. | MIDIDeviceManager.h |
|
static void ProcessMIDIEvents () |
Called every frame to look for any new MIDI events that were received, and routes those events to subscribers. | MIDIDeviceManager.h | |
static void ReinitializeDeviceManager() |
Called internally to update device info. | MIDIDeviceManager.h | |
static void ShutDownAllMIDIDevices() |
Shuts down any existing midi devices to ensure no dangling streams are left, and mark any input or output controller for cleanup | MIDIDeviceManager.h |
|
static void ShutdownMIDIDeviceManager() |
Called from FMIDIDeviceModule to shutdown the device manager. Don't call this yourself. | MIDIDeviceManager.h | |
static void StartupMIDIDeviceManager() |
Called from FMIDIDeviceModule to startup the device manager. Don't call this yourself. | MIDIDeviceManager.h |