You can simply listen and react to your MIDI instrument. just like this example you can turn your MIDI piano to a typing keyboard. I wrote this library just for fun. I do not have plan to make it more advanced (but I will accept any issue, PR and maybe add some features if I had time)
This project requires NodeJS (version 10 or later) and Yarn
Node and Yarn are really easy to install. To make sure you have them available on your machine, try running the following command.
$ npm -v && node -v
8.11.0
v16.15.1
If you don't have yarn installed try running this command.
npm install -g yarn
This project is nothing more than a Javascript library. so to use this library you have to install it first, then you can use the APIs it gives you to build your project.
BEFORE YOU INSTALL: please read the prerequisites
Start with installing the package via yarn:
yarn add midi-board
this project's module is CommonJS
so you can simply import it via ES6 import ... from
statement
import MidiBoard from "midi-board"
// or
import { MidiBoard } from "midi-board"
if you are importing it with require be aware that you should get the MidiBoard class by destructuring.
const { MidiBoard } = require("midi-board")
Every pull request is pleasured to me :) I hope you will have a lot of fun during contribution
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Add your changes:
git add .
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request 😎
- Arash Jahanbakhshan - Developer - arashi-dev
Just do a simple PR and after that add your name here :)
MIT License © Arash Jahanbakhshan