0.0.7 • Published 7 years ago

jamstik v0.0.7

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

Jamstik+

WebBluetooth client for the Jamstik+

Installation

npm install --save jamstik

Usage

import Jamstik from 'jamstik';

const jamstik = new Jamstik();
await jamstik.connect();

jamstik.midi.subscribe(sample => {
    console.log('sample', sample);
});

A sample consists of:

{
  header: number,
  timestamp: number,
  status: number,
  note: number,
  velocity: number
};

For security reasons, WebBLE must be started from user interaction. Add a connect button that would start the BLE connection. See ./examples/basic/index.js

Demo

License

MIT

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago