Nightingale Posing Mischievously
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

midi-manufacturers

1.1.0 • Public • Published

MIDI Manufacturer ID numbers

Usage

yarn add midi-manufacturers

In your code:

import midi_name, * as midi_id from "midi-manufacturers";

console.log(midi_id.FOCUSRITE_NOVATION);                // 00 20 29

console.log(midi_name[midi_id.FOCUSRITE_NOVATION]);     // Focusrite/Novation

Convert an ID to an array of bytes

bytes = midi_id.FOCUSRITE_NOVATION.split(" ").map(n => parseInt(n,16));     // [0, 32, 41]    

Source

https://www.midi.org/specifications/item/manufacturer-id-numbers

Keywords

install

npm i midi-manufacturers

Downloadsweekly downloads

0

version

1.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability