unreal.MIDIDeviceOutputController

class unreal.MIDIDeviceOutputController(outer=None, name='None')

Bases: unreal.Object

MIDIDevice Output Controller

C++ Source:

  • Plugin: MIDIDevice
  • Module: MIDIDevice
  • File: MIDIDeviceOutputController.h

Editor Properties: (see get_editor_property/set_editor_property)

  • device_id (int32): [Read-Write] The unique ID of this device
  • device_name (str): [Read-Write] The name of this device. This name comes from the MIDI hardware, any might not be unique
device_id

(int32) – [Read-Only] The unique ID of this device

device_name

(str) – [Read-Only] The name of this device. This name comes from the MIDI hardware, any might not be unique

send_midi_channel_aftertouch(channel, amount) → None

Sends MIDI Channel Aftertouch event type

Parameters:
  • channel (int32) – The MIDI channel to send
  • amount (float) – The MIDI Amount of aftertouch
send_midi_control_change(channel, type, value) → None

Sends MIDI Control Change event type

Parameters:
  • channel (int32) – The MIDI channel to send
  • type (int32) – The MIDI control type change
  • value (int32) – The MIDI Value for the control change
send_midi_event(event_type, channel, data1, data2) → None

Sends MIDI event raw data for an event type

Parameters:
  • event_type (MIDIEventType) – The event type as specified in the EMIDIEventType struct
  • channel (int32) – The MIDI channel to send
  • data1 (int32) – The first part of the MIDI data
  • data2 (int32) – The second part of the MIDI data
send_midi_note_aftertouch(channel, note, amount) → None

Sends MIDI Note Aftertouch event type

Parameters:
  • channel (int32) – The MIDI channel to send
  • note (int32) – The MIDI Note value
  • amount (float) – The MIDI aftertouch amount
send_midi_note_off(channel, note, velocity) → None

Sends MIDI Note Off event type

Parameters:
  • channel (int32) – The MIDI channel to send
  • note (int32) – The MIDI Note value
  • velocity (int32) – The MIDI Velocity value
send_midi_note_on(channel, note, velocity) → None

Sends MIDI Note On event type

Parameters:
  • channel (int32) – The MIDI channel to send
  • note (int32) – The MIDI Note value
  • velocity (int32) – The MIDI Velocity value
send_midi_pitch_bend(channel, pitch) → None

Sends MIDI Pitch Bend event type

Parameters:
  • channel (int32) – The MIDI channel to send
  • pitch (int32) – The MIDI Pitch Bend value (0-16383)
send_midi_program_change(channel, program_number) → None

Sends MIDI Program Change event type

Parameters:
  • channel (int32) – The MIDI channel to send
  • program_number (int32) –