The MidiInputDevice type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
MidiInputDevice(Int32) |
Creates a new instance of a MidiInputDevice.
| |
MidiInputDevice(Int32, MIDIINPROC) |
Creates a new instance of a MidiInputDevice.
|
Methods
Name | Description | |
---|---|---|
AddSysExBuffer |
Creates and adds a system exclusive buffer to the midi device.
| |
Close |
Closes the Midi input device using the DeviceID.
| |
Connect |
Connects this input device to a MIDI thru or output device.
| |
Disconnect |
Disconnects this input device from a MIDI thru or output device.
| |
Dispose |
Releases all managed and unmanaged resources used by this class.
| |
Finalize |
Destructor of the MidiInputDevice for finalization code.
(Overrides Object Finalize .) | |
GetDeviceCount |
Returns the total number of available Midi input devices.
| |
GetDeviceDescription |
Returns the name of the given input device ID.
| |
GetDeviceDescriptions |
Returns all available Midi input device names.
| |
GetInfo |
Determines the capabilities of a specified MIDI input device.
| |
GetMidiPorts |
Returns all available Midi input port IDs.
| |
IsPairedControllerMessage |
Is the given MidiShortMessage a paired controller message?
| |
Open |
Opens the Midi input device using the DeviceID.
| |
Start |
Starts recording messages from the Midi input device using the DeviceID.
| |
Stop |
Stops recording messages from the Midi input device using the DeviceID.
|
Properties
Name | Description | |
---|---|---|
AutoPairController |
Gets or Sets if Channel Messages (a MidiShortMessage) with a ControlChange should automatically be paired (default is None).
| |
ColtrollerPairMatrix |
Sets the controller pair matrix to automatic combine any ShortMessage with a StatusType of ControlChange.
| |
Device |
Returns the device handle for this input device.
| |
DeviceID |
Returns the device id (number) which was used to create this instance.
| |
IsDisposed |
Returns , if this class is being disposed.
| |
IsOpened |
Returns if the Midi input device is opened - else .
| |
IsStarted |
Returns if the Midi input device is started and recording messages - else .
| |
LastErrorCode |
Returns the last Midi error code (see MIDIError for possible values).
| |
MessageFilter |
Gets or Sets the filter to be applied (messages types which should be suppressed).
| |
ProcessErrorMessages |
Gets or Sets if erroneous Midi messages should also be processed.
| |
ShortMessage |
Gets the current (last) MidiShortMessage which was received from the Device.
| |
SysExBufferSize |
Gets or Sets the maximum buffer size for system-exclusive messages (between 2 and 65536, default is 1024).
| |
SysExMessage |
Gets the current (last) MidiSysExMessage which was received from the Device.
| |
User |
User instance data to be used when providing system-exclusive messages.
|
Events
Name | Description | |
---|---|---|
MessageReceived |
Event handler used to notify that the input device has received a message or the status has changed.
|
See Also