Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    midi-keyspublic

    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.

    Keywords

    none

    install

    npm i midi-keys

    Downloadsweekly downloads

    4

    version

    1.0.1

    license

    ISC

    repository

    github.com

    last publish

    collaborators

    • avatar