Socket
Socket
Sign inDemoInstall

akai-mpd24

Package Overview
Dependencies
10
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    akai-mpd24

a stream-based, node- and browser-friendly driver for the akai mpd24


Version published
Weekly downloads
2
Maintainers
1
Install size
171 kB
Created
Weekly downloads
 

Readme

Source

akai-mpd24

a stream-based, node- and browser-friendly driver for the akai mpd24.

the mpd24 is a true classic imo - 16 pressure-sensitive pads + 8 dials and 8 faders.

example

var MidiStream = require('midi-stream')
var mpd24 = require('akai-mpd24')

MidiStream.getPortNames(function (err, res) {
  console.log('found midi ports', err, res)
  var duplex = MidiStream(res[0], 0)
  mpd24(duplex)
    .on('data', d => {
      console.log('parsed', d)
    })
})

install

npm install akai-mpd24

api

require('akai-mpd24')(midiStream)

returns an object stream of vaules

[key, data]

(the mpd24 displays the key code of buttons on the LED as you press them)

no MIDI codes in this API! who needs 'em?

license

BSD

FAQs

Last updated on 01 Aug 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc