-
Notifications
You must be signed in to change notification settings - Fork 2
A small javascript library for guitar notes, scales, chords
License
naiquevin/GuitarJs
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
General Information
-------------------
Guitarjs is a small library for playing with
basic music related stuff in javascript, such as
notes, chords, scales and extended for a 6 string guitar
for getting all possible voicings of a chord
Currently it only supports Major, Minor, Diminished and Augmented.
Feel free to fork and add new types if you can.
Basic Usage
-----------
Build a chord
Chord.build("A Maj")
Array representation of all notes on the Fretboard
Guitar.Fretboard.fretMap
Array representation of all occurences of a note on a
6 string 24 fret guitar
Guitar.Fretboard.findOccurrences("A")
All possible voicings of a chord
(Testing in progress. Might be flaky as of now.)
var ch = Guitar.Fretboard.create("F# Min")
while (ch.has_next()) {
voicing = ch.next();
console.log(voicing);
}
About
A small javascript library for guitar notes, scales, chords
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published