midi-keys

1.0.1 • Public • Published

midi-keys

Map note names to MIDI note numbers.

Installation

Get it:

$ npm install --save midi-keys

Require it:

var key = require('midi-keys');

API

key(note)

Return the MIDI key number for note.

Note names are expressed as an uppercase letter (A-G), an optional sharp (#) or flat (b) modifier, then an octave number. Examples: C3, Bb2, F#4, C-2.

Copyright & License

© 2015 Jason Frame [ @jaz303 / jason@onehackoranother.com ]

Released under the ISC license.

Readme

Keywords

none

Package Sidebar

Install

npm i midi-keys

Weekly Downloads

1

Version

1.0.1

License

ISC

Last publish

Collaborators

  • jaz303