Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

midibutton

1.0.1 • Public • Published

MIDI Button

MIDI Button is a simple way to interface with MIDI Controllers.

Installation

$ npm install midibutton -S

Usage

const MIDIButton = require('midibutton')
let pad = new MIDIButton(0)
 
pad.on('discoverKey', key => {
    key.on('down', () => {
        console.log('Key down', key)
    })
})
 
pad.on('discoverKnob', knob => {
    knob.on('change', () => {
        console.log('Knob change', knob)
    })
})
 

Further documentation can be found in the documentation directory in the repo.

License

MIT

Keywords

none

install

npm i midibutton

Downloadsweekly downloads

5

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability