Repository navigation
|
I am getting the list of inputs using the following It simply shows all the midi input devices as a list. Does MidiKit provides this same information in a dictionary. If not can you show how to put the device name, and uniqueID in a dictionary |
Answered by
orchetect
Feb 24, 2023
Replies: 1 comment
|
I've added them as properties in MIDIKit 0.8.4. midiManager.devices.inputs // returns [MIDIDevice: [MIDIInputEndpoint]]
midiManager.devices.outputs // returns [MIDIDevice: [MIDIOutputEndpoint]]A device can contain zero or more entities, and an entity can contain zero or more inputs and outputs. These properties just flatten the entities and gives all endpoints associated with a device. |
0 replies
Answer selected by
orchetect
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've added them as properties in MIDIKit 0.8.4.
A device can contain zero or more entities, and an entity can contain zero or more inputs and outputs.
These properties just flatten the entities and gives all endpoints associated with a device.