Navigation
API > API/Plugins > API/Plugins/MIDIDevice > API/Plugins/MIDIDevice/UMIDIDeviceManager
Description
Retrieves the MIDI input device ID by name. Call "Find All MIDI Device Info" beforehand to enumerate the available input devices.
| Name | GetMIDIInputDeviceIDByName |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MIDIDevice/Source/MIDIDevice/Public/MIDIDeviceManager.h |
| Include Path | #include "MIDIDeviceManager.h" |
| Source | /Engine/Plugins/Runtime/MIDIDevice/Source/MIDIDevice/Private/MIDIDeviceManager.cpp |
UFUNCTION (BlueprintCallable, Category="MIDI Device Manager")
static void GetMIDIInputDeviceIDByName
(
const FString DeviceName,
int32 & DeviceID
)
Parameters
| Name | Remarks |
|---|---|
| DeviceName | The Name of the MIDI device you want to talk to. |
| DeviceID | The Device ID of the MIDI device with that name. |