WindowsMidiDevice class

Inheritance
  • Object
  • MidiDevice
  • WindowsMidiDevice

Constructors

WindowsMidiDevice(String id, String name, StreamController<MidiPacket> _rxStreamCtrl, StreamController<String> _setupStreamController, int callbackAddress)

Properties

callbackAddress int
getter/setter pair
connected bool
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
hMidiInDevicePtr Pointer<HMIDIIN>
final
hMidiOutDevicePtr Pointer<IntPtr>
final
id String
getter/setter pairinherited
inputPorts List<MidiPort>
getter/setter pairinherited
name String
getter/setter pairinherited
outputPorts List<MidiPort>
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toDictionary Map<String, Object>
no setterinherited
type String
getter/setter pairinherited

Methods

addInput(int id, MIDIINCAPS input) → dynamic
addOutput(int id, MIDIOUTCAPS output) → dynamic
connect() bool
Connect to the device, ie. open input and output ports NOTE: Currently only the first input/output port is considered
containsMidiIn(int input) → dynamic
disconnect() bool
handleData(Uint8List data, int timestamp) → dynamic
handleSysexData(Uint8List data, Pointer<MIDIHDR> midiHdrPointer) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(Uint8List data) → dynamic
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited