midi-wtf
v1.0.0
Published
Find out what fucking instrument or drum note a midi file is referencing.
Downloads
8
Maintainers
Readme
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?
- http://soundprogramming.net/file-formats/general-midi-drum-note-numbers/
- https://gist.github.com/skratchdot/6136612