lichen-community-systems / flocking-midi

A collection of MIDI components for Infusion and Flocking
1 stars 2 forks source link

Provide a simple UI for selecting and binding to MIDI devices #18

Closed colinbdclark closed 4 years ago

colinbdclark commented 9 years ago

It can currently be awkward to set up Flocking's MIDI system, since you need to know ahead of time what the name, manufacturer, or ID of your MIDI controller is, based on how it is reported by the Web Audio API. Since there's also a lot of asynchrony, it can involve a lot of callbacks and nesting.

It would be nice to have a quick way to select MIDI inputs using a select box containing all of the system's current input ports, as well as a way to refresh this list when new devices are connected. A user should be able to specify their MIDI handlers to this UI component, and all the work of requesting access, presenting ports, etc. should be done by the component.

colinbdclark commented 9 years ago

I just pushed a prototype of this UI component to the graphical-ioc branch, which will soon become the basis for Flocking 0.2.0. It works, but still has some rough edges:

colinbdclark commented 5 years ago

The basic infrastructure for this has been in place for a couple of years and has been used successfully by other users. Future work on flock.ui.midiConnector should be tracked with individual, specific issues, so I'm closing this as fixed for Flocking 0.2.0