1.0.0 • Published 9 years ago
midi-wtf v1.0.0
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 --saveRequire 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 1Where did the fucking table come from?
1.0.0
9 years ago