# ble-midi-parser

> Parse BLE MIDI data into timestamp and MIDI data that can be passed to the MIDI parsing library of your choice.

Latest version **1.0.1** (published 2018-08-23) · ISC license · 0 weekly downloads

## Install

```sh
npm install ble-midi-parser
pnpm add ble-midi-parser
yarn add ble-midi-parser
bun add ble-midi-parser
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2018-08-23 |
| First published | 2018-08-23 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 29.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | soulfresh |
| Maintainers | thesoulfresh |
| Keywords | BLE, MIDI |

## Links

- npm: https://www.npmjs.com/package/ble-midi-parser
- Repository: https://github.com/soulfresh/ble-midi-parser
- Homepage: https://github.com/soulfresh/ble-midi-parser#readme
- Issues: https://github.com/soulfresh/ble-midi-parser/issues
- npm.io page: https://npm.io/package/ble-midi-parser

## Alternatives

- [@lexical/table](https://npm.io/package/@lexical/table.md) — 3.0M weekly downloads
- [mantine-datatable](https://npm.io/package/mantine-datatable.md) — 98.2K weekly downloads
- [react-native-collapsible-tab-view](https://npm.io/package/react-native-collapsible-tab-view.md) — 70.6K weekly downloads
- [@handsontable/vue3](https://npm.io/package/@handsontable/vue3.md) — 16.1K weekly downloads
- [vuewordcloud](https://npm.io/package/vuewordcloud.md) — 7.2K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2018-08-23
- 1.0.0 — 2018-08-23

## README

Parse BLE MIDI data into timestamp and MIDI data
that can be passed to the MIDI parsing library of your choice.

Example Usage:
```
import MIDIMessage from 'midimessage';
import { parsePacket } from 'ble-midi-parser';

// After receiving a BLE MIDI packet from a source
// such as the `noble` library.
const info = parsePacket(data);

info.events.forEach((event) => {
  const m = MIDIMessage({
    receivedTime: event.timestamp,
    data: [event.midiStatus, event.midiOne, event.midiTwo]
  });

  // Do something with your midi message.
});
```

The contents of this library were extracted from the
[ble-midi](https://github.com/skratchdot/ble-midi)
project. Big thank you to skratchdot.

---
_Source: https://npm.io/package/ble-midi-parser · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
