Skip to content

A key value table that turns a useless fucking midi instrument or note id into something useful

License

Notifications You must be signed in to change notification settings

ianjennings/midi-wtf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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?

About

A key value table that turns a useless fucking midi instrument or note id into something useful

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published