array-notation

1.2.0 • Public • Published

array-notation npm version

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') // => [0, 2, null]

Read the API documentation to see all the available functions.

License

MIT License

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i array-notation

      Weekly Downloads

      3

      Version

      1.2.0

      License

      MIT

      Last publish

      Collaborators

      • danigb