EMIDIEventType

Choose your operating system:

Windows

macOS

Linux

References

Module

MIDIDevice

Header

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

Include

#include "MIDIDeviceController.h"

Syntax

enum EMIDIEventType
{
    Unknown,
    NoteOff              = 8,
    NoteOn               = 9,
    NoteAfterTouch       = 10,
    ControlChange        = 11,
    ProgramChange        = 12,
    ChannelAfterTouch    = 13,
    PitchBend            = 14,
}

Values

Name

Description

Unknown

Unrecognized MIDI event type. You can look at Raw Event Type to see what it is.

NoteOff

Is released. Velocity will contain the key pressure for devices that support that.

NoteOn

Is pressed down. Velocity will contain the key pressure for devices that support that.

NoteAfterTouch

Polyphonic key pressure.

ControlChange

This is sent for things like pedals when their controller state changes.

ProgramChange

This is sent for some devices that support changing patches. Velocity is usually ignored

ChannelAfterTouch

Channel pressure value.

PitchBend

For devices with levers or wheels, this indicates a change of state.