matthewshirley / react-midi-hook Goto Github PK
View Code? Open in Web Editor NEWReact hook to easily use MIDI inputs via the Web MIDI API ๐น ๐ผ
React hook to easily use MIDI inputs via the Web MIDI API ๐น ๐ผ
Hey Matthew, I'm trying to implement your package in my synth app. It is working fine but I was wondering if you included a method that triggers when a midi key is pressed
Hey, nice library!
Was looking for some alternatives to https://github.com/djipco/webmidi with hooks support.
Only question about position
.
What's the reasoning to subtract 21 in context of midi spec?
// Real keyboard notes are different to MIDI notes
const position = note - 21;
Another question about event:
When single key is pressed getting 4 events:
(one pressedKey) - "NOTE_OFF" and "NOTE_ON"
(after released, empty pressed key) - "NOTE_ON" and "NOTE_OFF"
Is it a bug?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.