:github_url: hide .. Generated automatically by doc/tools/make_rst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the InputEventMIDI.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_InputEventMIDI: InputEventMIDI ============== **Inherits:** :ref:`InputEvent` **<** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` Properties ---------- +-----------------------+---------------------------------------------------------------------------+-------+ | :ref:`int` | :ref:`channel` | ``0`` | +-----------------------+---------------------------------------------------------------------------+-------+ | :ref:`int` | :ref:`controller_number` | ``0`` | +-----------------------+---------------------------------------------------------------------------+-------+ | :ref:`int` | :ref:`controller_value` | ``0`` | +-----------------------+---------------------------------------------------------------------------+-------+ | :ref:`int` | :ref:`instrument` | ``0`` | +-----------------------+---------------------------------------------------------------------------+-------+ | :ref:`int` | :ref:`message` | ``0`` | +-----------------------+---------------------------------------------------------------------------+-------+ | :ref:`int` | :ref:`pitch` | ``0`` | +-----------------------+---------------------------------------------------------------------------+-------+ | :ref:`int` | :ref:`pressure` | ``0`` | +-----------------------+---------------------------------------------------------------------------+-------+ | :ref:`int` | :ref:`velocity` | ``0`` | +-----------------------+---------------------------------------------------------------------------+-------+ Property Descriptions --------------------- .. _class_InputEventMIDI_property_channel: - :ref:`int` **channel** +-----------+--------------------+ | *Default* | ``0`` | +-----------+--------------------+ | *Setter* | set_channel(value) | +-----------+--------------------+ | *Getter* | get_channel() | +-----------+--------------------+ ---- .. _class_InputEventMIDI_property_controller_number: - :ref:`int` **controller_number** +-----------+------------------------------+ | *Default* | ``0`` | +-----------+------------------------------+ | *Setter* | set_controller_number(value) | +-----------+------------------------------+ | *Getter* | get_controller_number() | +-----------+------------------------------+ ---- .. _class_InputEventMIDI_property_controller_value: - :ref:`int` **controller_value** +-----------+-----------------------------+ | *Default* | ``0`` | +-----------+-----------------------------+ | *Setter* | set_controller_value(value) | +-----------+-----------------------------+ | *Getter* | get_controller_value() | +-----------+-----------------------------+ ---- .. _class_InputEventMIDI_property_instrument: - :ref:`int` **instrument** +-----------+-----------------------+ | *Default* | ``0`` | +-----------+-----------------------+ | *Setter* | set_instrument(value) | +-----------+-----------------------+ | *Getter* | get_instrument() | +-----------+-----------------------+ ---- .. _class_InputEventMIDI_property_message: - :ref:`int` **message** +-----------+--------------------+ | *Default* | ``0`` | +-----------+--------------------+ | *Setter* | set_message(value) | +-----------+--------------------+ | *Getter* | get_message() | +-----------+--------------------+ ---- .. _class_InputEventMIDI_property_pitch: - :ref:`int` **pitch** +-----------+------------------+ | *Default* | ``0`` | +-----------+------------------+ | *Setter* | set_pitch(value) | +-----------+------------------+ | *Getter* | get_pitch() | +-----------+------------------+ ---- .. _class_InputEventMIDI_property_pressure: - :ref:`int` **pressure** +-----------+---------------------+ | *Default* | ``0`` | +-----------+---------------------+ | *Setter* | set_pressure(value) | +-----------+---------------------+ | *Getter* | get_pressure() | +-----------+---------------------+ ---- .. _class_InputEventMIDI_property_velocity: - :ref:`int` **velocity** +-----------+---------------------+ | *Default* | ``0`` | +-----------+---------------------+ | *Setter* | set_velocity(value) | +-----------+---------------------+ | *Getter* | get_velocity() | +-----------+---------------------+ .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`