Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yaph/cromatica
A small library that defines a color scheme for the 12 musical notes in the chromatic scale.
https://github.com/yaph/cromatica
chromatic-scale color-scheme musical-notes
Last synced: 19 days ago
JSON representation
A small library that defines a color scheme for the 12 musical notes in the chromatic scale.
- Host: GitHub
- URL: https://github.com/yaph/cromatica
- Owner: yaph
- License: mit
- Created: 2021-12-02T23:59:32.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-06T22:19:00.000Z (almost 3 years ago)
- Last Synced: 2024-11-10T23:04:31.030Z (about 1 month ago)
- Topics: chromatic-scale, color-scheme, musical-notes
- Language: TypeScript
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://ukealong.com). For an example see the [Ukulele Chord Detector](https://ukealong.com/tool/chord-detector/) tool.
## Installation
npm install cromatica
## Usage
import { noteColor } from 'cromatica';
const color = noteColor('C');