Tame the Web MIDI API. Send and receive MIDI messages with ease. Control instruments with user-friendly functions (playNote, sendPitchBend, etc.). React to MIDI input with simple event listeners (noteon, pitchbend, controlchange, etc.).
Originally posted by **aphleps** December 8, 2021
I've been using v2.5 with react but didn't manage to get v3 working. After scaffolding a new project with create-react-app I installed webmidi 3.x using npm. When I try to call the API I get the following error.
```
./node_modules/webmidi/dist/cjs/webmidi.cjs.min.js
Module not found: Can't resolve 'perf_hooks' in '/Users/alex/code/react-midi-simple/node_modules/webmidi/dist/cjs'
```
Discussed in https://github.com/djipco/webmidi/discussions/203