MIDI I/O abstraction for Redux apps using the Web MIDI API
MIT License
API documentation (up-to-date with master
)
This module provides middleware functions, a reducer and a set of action creators wrapping the Web MIDI API for use in Redux apps.
RECEIVE_DEVICE_LIST
action.SEND_MIDI_MESSAGE
action with a device ID, MIDI data and optional timestamp, and it will be sent.SET_LISTENING_DEVICES
action with the IDs of one or more input devices and you will begin receiving messages from them.RECEIVE_MIDI_MESSAGE
actions to handle incoming MIDI messages.This repo is a work in progress. Watch this space for updates and in the mean time have a look at the documentation and the source code for a better idea of what's going on.