Midi Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Global methods and constants for using CoreMidi.
public static class Midi
type Midi = class
- Inheritance
-
Midi
Properties
| Name | Description |
|---|---|
| DestinationCount |
The number of MIDI destinations. |
| DeviceCount |
The number of MIDI devices in the system (do not confused with external connected devices). |
| ExternalDeviceCount |
The number of external devices connected to this system. |
| NetworkBonjourServiceType |
Represents the value associated with the constant MIDINetworkBonjourServiceType |
| NetworkNotificationContactsDidChange |
Notification constant for NetworkNotificationContactsDidChange |
| NetworkNotificationSessionDidChange |
Notification constant for NetworkNotificationSessionDidChange |
| SourceCount |
Returns the number of sources in the system. |
Methods
| Name | Description |
|---|---|
| GetDevice(IntPtr) |
Returns an object representing the specified MIDI device. |
| GetExternalDevice(IntPtr) |
Returns an object representing the specified external MIDI device. |
| Restart() |
Restarts the MIDI Subsystem. |