Search Results for

    Show / Hide Table of Contents

    Interface IInputDevice

    Represents an abstract input MIDI device. More info in the Devices and Input device articles.
    Inherited Members
    IDisposable.Dispose()
    Namespace: Melanchall.DryWetMidi.Multimedia
    Assembly: Melanchall.DryWetMidi.dll
    Syntax
    public interface IInputDevice : IDisposable

    Properties

    IsListeningForEvents

    Gets a value that indicates whether the current input device is currently listening for incoming MIDI events.
    Declaration
    bool IsListeningForEvents { get; }
    Property Value
    Type Description
    bool

    Methods

    StartEventsListening()

    Starts listening for incoming MIDI events on the current input device.
    Declaration
    void StartEventsListening()

    StopEventsListening()

    Stops listening for incoming MIDI events on the current input device.
    Declaration
    void StopEventsListening()

    Events

    EventReceived

    Occurs when a MIDI event is received.
    Declaration
    event EventHandler<MidiEventReceivedEventArgs> EventReceived
    Event Type
    Type Description
    EventHandler<MidiEventReceivedEventArgs>

    Extension Methods

    DevicesConnectorUtilities.Connect(IInputDevice, params IOutputDevice[])
    In this article
    Back to top 2024 / Generated by DocFX