News for hackers. Stuff that matters.
Re:Show HN: OpenDeck – Platform for building MIDI controllers by rajangdavis on Sunday October 10, 2021 @02:03PM (#28820566)
I've built a small-medium sized project around this library and React on the front end:

https://github.com/djipco/webmidi

You can send and receive MIDI messages with this library both from the browser and within a Node context.

Along the lines of the React/browser lifecycle, I would be careful with listening to MIDI inputs.

You have to add guards for when an input no longer exists and be careful when creating listeners. React Hooks help with this but it's easy to create footguns if you're reading and sending MIDI data.

There are no comments on this comment yet.