UMIDIDeviceOutputController

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

MIDIDevice

Header

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

Include

#include "MIDIDeviceOutputController.h"

Syntax

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

Variables

Name Description

Protected variable UProperty Category BlueprintReadOnly

int32

 

DeviceID

The unique ID of this device

Protected variable UProperty Category BlueprintReadOnly

FString

 

DeviceName

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

Protected variable

void *

 

PMMIDIStream

The PortMidi stream used for MIDI output for this device

Destructors

Name Description

Public function Virtual

~UMIDIDeviceOutputController()

Destructor that shuts down the device if it's still in use

Functions

Name Description

Public function UFunction BlueprintCallable, Category

void

 

SendMIDIChannelAftertouch

(
    int32 Channel,
    float Amount
)

Sends MIDI Channel Aftertouch event type

Public function UFunction BlueprintCallable, Category

void

 

SendMIDIControlChange

(
    int32 Channel,
    int32 Type,
    int32 Value
)

Sends MIDI Control Change event type

Public function UFunction BlueprintCallable, Category

void

 

SendMIDIEvent

(
    EMIDIEventType EventType,
    int32 Channel,
    int32 data1,
    int32 data2
)

Sends MIDI event raw data for an event type

Public function UFunction BlueprintCallable, Category

void

 

SendMIDINoteAftertouch

(
    int32 Channel,
    int32 Note,
    float Amount
)

Sends MIDI

Aftertouch event type

Public function UFunction BlueprintCallable, Category

void

 

SendMIDINoteOff

(
    int32 Channel,
    int32 Note,
    int32 Velocity
)

Sends MIDI

Off event type

Public function UFunction BlueprintCallable, Category

void

 

SendMIDINoteOn

(
    int32 Channel,
    int32 Note,
    int32 Velocity
)

Sends MIDI

On event type

Public function UFunction BlueprintCallable, Category

void

 

SendMIDIPitchBend

(
    int32 Channel,
    int32 Pitch
)

Sends MIDI Pitch Bend event type

Public function UFunction BlueprintCallable, Category

void

 

SendMIDIProgramChange

(
    int32 Channel,
    int32 ProgramNumber
)

Sends MIDI Program Change event type

Overridden from UMIDIDeviceControllerBase

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

 

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