Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

array-notation

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

array-notation

Convert music elements to array notation

  • 1.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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

Keywords

FAQs

Package last updated on 20 Dec 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc