UMIDIDeviceControllerBase

Common functionality for the different MIDI Device Controllers.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

MIDIDevice

Header

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

Include

#include "MIDIDeviceControllerBase.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(Abstract)
class UMIDIDeviceControllerBase : public UObject

Remarks

Common functionality for the different MIDI Device Controllers.

Functions

Name Description

Public function Virtual Const

FString

 

GetDeviceName()

The name of this device. This name comes from the MIDI hardware, any might not be unique

Public function Virtual Const

int32

 

GetMIDIBufferSize()

Size of the MIDI buffer in bytes

Public function Virtual

void

 

ProcessIncomingMIDIEvents()

Called every frame by UMIDIDeviceManager to poll for new MIDI events and broadcast them out to subscribers of OnMIDIEvent.

Public function Virtual

void

 

ShutdownDevice()

Called during destruction to clean up this device. Don't call this directly.

Public function Virtual

void

 

StartupDevice

(
    const int32 InitDeviceID,
    const int32 InitMIDIBufferSize,
    bool& bOutWasSuccessful
)

Called from UMIDIDeviceManager after the controller is created to get it ready to use.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss