cromatica
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

cromatica

A small library that defines a color scheme for the 12 musical notes in the chromatic scale.

I created this scheme to color the notes on the fretboard diagrams displayed on ukealong.com. For an example see the Ukulele Chord Detector tool.

Installation

npm install cromatica

Usage

import { noteColor } from 'cromatica';

const color = noteColor('C');

Dependencies (0)

    Dev Dependencies (5)

    Package Sidebar

    Install

    npm i cromatica

    Weekly Downloads

    4

    Version

    0.3.0

    License

    MIT

    Unpacked Size

    4.59 kB

    Total Files

    5

    Last publish

    Collaborators

    • rg