@mohayonao/launchcontrol-message-parser

launchcontrol message parser


License
MIT
Install
npm install @mohayonao/launchcontrol-message-parser@0.9.2

Documentation

launchcontrol-message-parser

Build Status NPM Version License

Installation

npm install @mohayonao/launchcontrol-message-parser

Example

const parser = require("@mohayonao/launchcontrol-message-parser");

launchControl.onmidimessage = (e) => {
  const items = parser.parse(e.data);
  // → { col: 0, row: 0, val: 100, ch: 0 }

  if (items.col === 0 && items.row === 0) {
    console.log(`knob1-0: ${ items.val }`);
  }
};

Data Matrix

data-matrix

License

MIT