UMIDIDeviceManager::GetMIDIInputDeviceIDByName

Retrieves the MIDI input device ID by name.

Choose your operating system:

Windows

macOS

Linux

References

Module

MIDIDevice

Header

/Engine/Plugins/Runtime/MIDIDevice/Source/MIDIDevice/Public/MIDIDeviceManager.h

Include

#include "MIDIDeviceManager.h"

Source

/Engine/Plugins/Runtime/MIDIDevice/Source/MIDIDevice/Private/MIDIDeviceManager.cpp

Syntax

UFUNCTION(BlueprintCallable, Category="MIDI Device Manager")
static void GetMIDIInputDeviceIDByName
(
    const FString DeviceName,
    int32 & DeviceID
)

Remarks

Retrieves the MIDI input device ID by name. Call "Find All MIDI Device Info" beforehand to enumerate the available input devices.

Parameters

Parameter

Description

DeviceName

The Name of the MIDI device you want to talk to.

DeviceID

The Device ID of the MIDI device with that name.