Edit

Share via


MidiDevice Class

Definition

Represents a MIDI device (typically they represent a hardware device, but virtual devices also exist). Devices can contain one or more entities.

public class MidiDevice : CoreMidi.MidiObject
type MidiDevice = class
    inherit MidiObject
Inheritance
MidiDevice

Remarks

A single MIDI hardware device contains one or more entities. For example a single box could contain two independent MIDI tone generators, or a generator and a keyboard.

To obtain a MidiDevice, use the T:CoreMidi.Midi.GetDevice(int) or the T:CoreMidi.Midi.GetExternalDevice(int) methods.

Properties

AdvanceScheduleTimeMuSec
CanRoute
ConnectionUniqueIDData
ConnectionUniqueIDInt
DeviceID
DisplayName
DriverDeviceEditorApp
DriverOwner
DriverVersion
EntityCount

Returns the number of MIDI entities in this device.

FactoryPatchNameFile
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from MidiObject)
Image
IsDrumMachine
IsEffectUnit
IsEmbeddedEntity
IsMixer
IsSampler
Manufacturer
MaxReceiveChannels
MaxSysExSpeed
MaxTransmitChannels
Model
Name
NameConfiguration
Offline
PanDisruptsStereo
Private
ReceivesBankSelectLSB
ReceivesBankSelectMSB
ReceivesClock
ReceivesMTC
ReceivesNotes
ReceivesProgramChanges
SingleRealtimeEntity
SupportsGeneralMidi
SupportsMMC
SupportsShowControl
TransmitsBankSelectLSB
TransmitsBankSelectMSB
TransmitsClock
TransmitsMTC
TransmitsNotes
TransmitsProgramChanges
UniqueID
UserPatchNameFile
UsesSerial

Methods

Add(String, Boolean, nuint, nuint, MidiEntity)
Dispose()

Releases the resources used by the MidiObject object.

(Inherited from MidiObject)
Dispose(Boolean)

Releases the resources used by the MidiObject object.

(Inherited from MidiObject)
GetData(IntPtr) (Inherited from MidiObject)
GetDictionaryProperties(Boolean)

Returns the object properties as a dictionary.

(Inherited from MidiObject)
GetEntity(nint)

Returns the specified entity.

GetString(IntPtr) (Inherited from MidiObject)
RemoveProperty(String) (Inherited from MidiObject)
SetData(IntPtr, NSData) (Inherited from MidiObject)
SetString(IntPtr, String) (Inherited from MidiObject)

Applies to