BASS.NET API for the Un4seen BASS Audio LibraryMidiInputDevice MembersBASS.NET API for the Un4seen BASS Audio Library

The MidiInputDevice type exposes the following members.
Constructors

  NameDescription
Public methodMidiInputDevice(Int32)
Creates a new instance of a MidiInputDevice.
Public methodMidiInputDevice(Int32, MIDIINPROC)
Creates a new instance of a MidiInputDevice.
Back to Top
Methods

  NameDescription
Public methodAddSysExBuffer
Creates and adds a system exclusive buffer to the midi device.
Public methodClose
Closes the Midi input device using the DeviceID.
Public methodConnect
Connects this input device to a MIDI thru or output device.
Public methodDisconnect
Disconnects this input device from a MIDI thru or output device.
Public methodDispose
Releases all managed and unmanaged resources used by this class.
Protected methodFinalize
Destructor of the MidiInputDevice for finalization code.
(Overrides OnlineObject Finalize .)
Public methodStatic memberGetDeviceCount
Returns the total number of available Midi input devices.
Public methodStatic memberGetDeviceDescription
Returns the name of the given input device ID.
Public methodStatic memberGetDeviceDescriptions
Returns all available Midi input device names.
Public methodStatic memberGetInfo
Determines the capabilities of a specified MIDI input device.
Public methodStatic memberGetMidiPorts
Returns all available Midi input port IDs.
Public methodIsPairedControllerMessage
Is the given MidiShortMessage a paired controller message?
Public methodOpen
Opens the Midi input device using the DeviceID.
Public methodStart
Starts recording messages from the Midi input device using the DeviceID.
Public methodStop
Stops recording messages from the Midi input device using the DeviceID.
Back to Top
Properties

  NameDescription
Public propertyAutoPairController
Gets or Sets if Channel Messages (a MidiShortMessage) with a ControlChange should automatically be paired (default is None).
Public propertyColtrollerPairMatrix
Sets the controller pair matrix to automatic combine any ShortMessage with a StatusType of ControlChange.
Public propertyDevice
Returns the device handle for this input device.
Public propertyDeviceID
Returns the device id (number) which was used to create this instance.
Public propertyIsDisposed
Returns  , if this class is being disposed.
Public propertyIsOpened
Returns   if the Midi input device is opened - else  .
Public propertyIsStarted
Returns   if the Midi input device is started and recording messages - else  .
Public propertyLastErrorCode
Returns the last Midi error code (see MIDIError for possible values).
Public propertyMessageFilter
Gets or Sets the filter to be applied (messages types which should be suppressed).
Public propertyProcessErrorMessages
Gets or Sets if erroneous Midi messages should also be processed.
Public propertyShortMessage
Gets the current (last) MidiShortMessage which was received from the Device.
Public propertySysExBufferSize
Gets or Sets the maximum buffer size for system-exclusive messages (between 2 and 65536, default is 1024).
Public propertySysExMessage
Gets the current (last) MidiSysExMessage which was received from the Device.
Public propertyUser
User instance data to be used when providing system-exclusive messages.
Back to Top
Events

  NameDescription
Public eventMessageReceived
Event handler used to notify that the input device has received a message or the status has changed.
Back to Top
See Also