lichen-community-systems / flocking-midi

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

Flocking's MIDI event dispatcher should be refactored so that it can be called and customized by users #9

Open colinbdclark opened 5 years ago

colinbdclark commented 5 years ago

Currently, Flocking's MIDI subsystem tightly couples the process of parsing raw MIDI events from the Web MIDI API with the logic required to dispatch to different higher-level events. As discussed in a recent thread on the Flocking mailing list, users who want to provide custom filters (e.g. to only fire MIDI events for a particular channel, etc.) need to be able to control when (and probably how) MIDI events are dispatched after they've been parsed.

colinbdclark commented 5 years ago

Here's a link to the function that needs to be refactored.