UMIDIDeviceManager::FindAllMIDIDeviceInfo

Enumerates all of the MIDI input and output devices and reports back useful infos such as IDs and names of those devices.

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 FindAllMIDIDeviceInfo
(
    TArray< FMIDIDeviceInfo > & OutMIDIInputDevices,
    TArray< FMIDIDeviceInfo > & OutMIDIOutputDevices
)

Remarks

Enumerates all of the MIDI input and output devices and reports back useful infos such as IDs and names of those devices. This operation is a little expensive so only do it once at startup, or if you think that a new device may have been connected.

Parameters

Parameter

Description

OutMIDIInputDevices

A list of available MIDI Input devices

OutMIDIOutputDevices

A list of available MIDI Output devices