This is part of tonal
- Parse notes and pitch classes
- Parse intervals in short hand notation
- Parse roman numerals
- Parse pitched elements (scales, chords, keys)
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.
You can parse notes to array notation with the
var parse =// => [0, 2, null]
Read the API documentation to see all the available functions.