unreal.MIDIEventType

class unreal.MIDIEventType

Bases: unreal.EnumBase

EMIDIEvent Type

C++ Source:

  • Plugin: MIDIDevice

  • Module: MIDIDevice

  • File: MIDIDeviceController.h

CHANNEL_AFTER_TOUCH

Channel pressure value. This is sent after a channel button ‘bottoms out’ for devices that support it. Velocity will contain the pressure value.

Type

13

CONTROL_CHANGE

This is sent for things like pedals when their controller state changes. Velocity will contain the new value for the controller. This event also is used for ‘Channel Mode Changes’ (Channels between 120-127), which encompass a variety of different features. For those events, you’ll need to interpret the values yourself.

Type

11

NOTE_AFTER_TOUCH

Polyphonic key pressure. This is sent after a key ‘bottoms out’ for devices that support it. Velocity will contain the pressure value.

Type

10

NOTE_OFF

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

Type

8

NOTE_ON

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

Type

9

PITCH_BEND

For devices with levers or wheels, this indicates a change of state. The data is interpreted a bit differently here, where the new value is actually 14-bits that contained within both the Control ID and Velocity // todo: midi: Ideally set velocity to correct values in this case so Blueprints don’t have to

Type

14

PROGRAM_CHANGE

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

Type

12