Skip to content

Aduffy/Stringed-Chord-Structure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

Stringed-Chord-Structure

A proposed structure for a standardized structure for storing chord and fingerings for stringed instruments.

{
    title: "G Major",
    root: "G",
    type: "Major",
    position: 0, // starting fret to show when drawing chord 
    notes: [
      /**
        * string and fret are min requiered, finger, note & interval 
        * can be later calulated based string/fret/root 
      */
      { string: 6, fret: 3, finger: 1, note: 'G', interval: "P1" },
      { string: 5, fret: 5, finger: 3, note: 'D', interval: 'P5' },
      { string: 4, fret: 5, finger: 4, note: 'G', interval: 'P1' },
      { string: 3, fret: 4, finger: 2, note: 'B', interval: '3M' }, 
      { string: 2, fret: 3, finger: 1, note: 'D', interval: 'P5' }, 
      { string: 1, fret: 3, finger: 1, note: 'G', interval: 'P1' }
    ],
    barres: [
      { fromString: 6, toString: 1, fret: 3, finger: '1', }
    ]
}

All notes of the chord should be defined in 'notes', so that note names and intervals can be optionaly displayed along with the chord.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published