UMIDIDeviceManager::CreateMIDIDeviceOutputController

Creates an instance of a MIDI output device controller that can be used to interact with a connected MIDI device

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 UMIDIDeviceOutputController * CreateMIDIDeviceOutputController
(
    const int32 DeviceID
)

Remarks

Creates an instance of a MIDI output device controller that can be used to interact with a connected MIDI device

Returns

If everything goes okay, a valid MIDI device controller object will be returned. If anything goes wrong, a null reference will be returned.

Parameters

Parameter

Description

DeviceID

The ID of the MIDI device you want to talk to. Call "Find MIDI Devices" to enumerate the available devices.