-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #156: Route MIDI messages to external interface
I had expected to add an OrchestratorEvent::Midi so that the app could handle it by forwarding to the MIDI interface. But I forgot that we call Orchestrator::render() in the NeedsAudioFn, so that's where we receive our messages. Fortunately, it wasn't hard to get a MidiInterfaceInput channel sender in there, so (a) I can do it at all, and (b) since it's a channel rather than a method call, I don't have to worry about NeedsAudioFn becoming janky if MidiInterface gets slow.
- Loading branch information
Showing
4 changed files
with
50 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters