Creates an hs.midi object for a physical device.
For a device with several ports, the callback receives messages from the device's
first source, and sendCommand() sends to its first destination. sendSysex() and
identityRequest() send to every destination on the device. To use a specific
port, open it by name with virtualSourceNamed().
new/alloc/copy-prefixed method names, which have special meaning under
Objective-C's ARC ownership conventions.
Creates an
hs.midiobject for a physical device. For a device with several ports, the callback receives messages from the device's first source, andsendCommand()sends to its first destination.sendSysex()andidentityRequest()send to every destination on the device. To use a specific port, open it by name withvirtualSourceNamed().new/alloc/copy-prefixed method names, which have special meaning under Objective-C's ARC ownership conventions.