UMIDIDeviceManager::GetDefaultMIDIInputDeviceID

Retrieves the default MIDI input device ID.

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 GetDefaultMIDIInputDeviceID
(
    int32 & DeviceID
)

Remarks

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

Parameters

Parameter

Description

DeviceID

The Device ID of the MIDI input device with that name.