array-notation
array-notation
is a collection of javascript functions to parse notes, intervals and other pitched elements to array notation.
This is part of tonal
Features
- Parse notes and pitch classes
- Parse intervals in short hand notation
- Parse roman numerals
- Parse pitched elements (scales, chords, keys)
Install
Via npm only: npm install --save array-notation
It's important to notice that you can NOT require the whole library. Instead, you must require the functions you will use.
Usage
You can parse notes to array notation with the note/parse
function:
var parse = require('array-notation/note/parse')
parse('C2')
Read the API documentation to see all the available functions.
License
MIT License