# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.1.0

import enum

import winrt.system
from winrt._winrt_windows_devices_midi import (
    MidiActiveSensingMessage,
    MidiChannelPressureMessage,
    MidiContinueMessage,
    MidiControlChangeMessage,
    MidiInPort,
    MidiMessageReceivedEventArgs,
    MidiNoteOffMessage,
    MidiNoteOnMessage,
    MidiOutPort,
    MidiPitchBendChangeMessage,
    MidiPolyphonicKeyPressureMessage,
    MidiProgramChangeMessage,
    MidiSongPositionPointerMessage,
    MidiSongSelectMessage,
    MidiStartMessage,
    MidiStopMessage,
    MidiSynthesizer,
    MidiSystemExclusiveMessage,
    MidiSystemResetMessage,
    MidiTimeCodeMessage,
    MidiTimingClockMessage,
    MidiTuneRequestMessage,
    _IMidiMessage,
    IMidiMessage,
    _IMidiOutPort,
    IMidiOutPort,
)

__all__ = [
    "MidiMessageType",
    "MidiActiveSensingMessage",
    "MidiChannelPressureMessage",
    "MidiContinueMessage",
    "MidiControlChangeMessage",
    "MidiInPort",
    "MidiMessageReceivedEventArgs",
    "MidiNoteOffMessage",
    "MidiNoteOnMessage",
    "MidiOutPort",
    "MidiPitchBendChangeMessage",
    "MidiPolyphonicKeyPressureMessage",
    "MidiProgramChangeMessage",
    "MidiSongPositionPointerMessage",
    "MidiSongSelectMessage",
    "MidiStartMessage",
    "MidiStopMessage",
    "MidiSynthesizer",
    "MidiSystemExclusiveMessage",
    "MidiSystemResetMessage",
    "MidiTimeCodeMessage",
    "MidiTimingClockMessage",
    "MidiTuneRequestMessage",
    "IMidiMessage",
    "IMidiOutPort",
]

class MidiMessageType(enum.IntEnum):
    NONE = 0
    NOTE_OFF = 128
    NOTE_ON = 144
    POLYPHONIC_KEY_PRESSURE = 160
    CONTROL_CHANGE = 176
    PROGRAM_CHANGE = 192
    CHANNEL_PRESSURE = 208
    PITCH_BEND_CHANGE = 224
    SYSTEM_EXCLUSIVE = 240
    MIDI_TIME_CODE = 241
    SONG_POSITION_POINTER = 242
    SONG_SELECT = 243
    TUNE_REQUEST = 246
    END_SYSTEM_EXCLUSIVE = 247
    TIMING_CLOCK = 248
    START = 250
    CONTINUE = 251
    STOP = 252
    ACTIVE_SENSING = 254
    SYSTEM_RESET = 255

