0.0.5 • Published 1 year ago

@moonwave99/chord-voicings v0.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Chord Voicings

Returns an array of notes from a voicing schema without the root, e.g.:

import { getNotes } from "@moonwave99/chord-voicings";

getNotes("C", "b3", "b5", "b7"); // returns ['Eb', 'Gb', 'Bb']

If you want the root, mark it as 'R':

import { getNotes } from "@moonwave99/voicings";

getNotes("C", "b3", "b5", "b7", "R"); // returns ['Eb', 'Gb', 'Bb', 'C']
0.0.5

1 year ago