pk

piano-key

Piano keys frequencies

Showing:

Popularity

Downloads/wk

6

Maintenance

No Maintenance Data Available

Package

Dependencies

1

Size (min+gzip)

0.7KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

Piano-key Build Status Code Climate unstable

Tools for working with piano keys and frequencies.

npm install piano-key

var key = require('piano-key');

key.getName(49);                //A4
key.getFrequency(49);           //440
key.getFrequency('A4');         //440
key.getNumber('A4');            //49
key.getNumber(440);             //49
key.getOctave(49);              //4
key.getNote(50);                //A#
key.getNote('A#4');             //A#

key.isBlack(49);                //false
key.isBlack(48);                //true

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100