1.0.0 • Published 7 years ago

midi-wtf v1.0.0

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

midi-wtf

Find out what fucking instrument or drum note a midi file is referencing. A key value table that turns a midi drum note number into a string representing the instrument.

Usage

Install via NPM

npm install midi-wtf --save

Require the fucking file

var midiWTF = require('midi-wtf');

Midi instrument number into a string and instrument group

midiWtf.instrument(80)

Returns

{ "val": 79, "name": "Ocarina", "group": "Pipe"}

Midi note number to drum note

midiWtf.drum(38)

Returns

Snare Drum 1

Where did the fucking table come from?