UMIDIDeviceManager::GetMIDIOutputDeviceIDByName

Retrieves the MIDI output 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 GetMIDIOutputDeviceIDByName
(
    const FString DeviceName,
    int32 & DeviceID
)

Remarks

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

Parameters

Parameter

Description

DeviceName

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

DeviceID

The Device ID of the MIDI output device associated with that name.