So, below I have first results. The numbers in “fretStrings” refer to position in the triad array, 0 being the first (root).
If I have a look at the target chords and compare that to the potential positions in fretStrings I see two rules for creating shapes:
- try to choose lower frets where possible
- try to choose as many notes on one fret as possible (so they line up horizontally)
I will implement that and let’s see if this will result in the target Chords…
{
“results”: [
{
“rootNote”: “C”,
“scale”: [
“C”,
“D”,
“E”,
“F”,
“G”,
“A”,
“B”
],
“triad”: [
“C”,
“E”,
“G”
],
“targetChord”: “x32010”,
“fretStrings”: [
“1##2#1”,
“####0#”,
“##1###”,
“20###2”,
“######”,
“##201#”
]
},
{
“rootNote”: “D”,
“scale”: [
“D”,
“E”,
“F#”,
“G”,
“A”,
“B”,
“C#”
],
“triad”: [
“D”,
“F#”,
“A”
],
“targetChord”: “xx0232”,
“fretStrings”: [
“#20###”,
“######”,
“1##2#1”,
“####0#”,
“##1###”,
“20###2”
]
},
{
“rootNote”: “E”,
“scale”: [
“E”,
“F#”,
“G#”,
“A”,
“B”,
“C#”,
“D#”
],
“triad”: [
“E”,
“G#”,
“B”
],
“targetChord”: “022100”,
“fretStrings”: [
“0###20”,
“###1##”,
“#20###”,
“######”,
“1##2#1”,
“####0#”
]
},
{
“rootNote”: “F”,
“scale”: [
“F”,
“G”,
“A”,
“A#”,
“C”,
“D”,
“E”
],
“triad”: [
“F”,
“A”,
“C”
],
“targetChord”: “133211”,
“fretStrings”: [
“#1####”,
“0###20”,
“###1##”,
“#20###”,
“######”,
“1##2#1”
]
},
{
“rootNote”: “G”,
“scale”: [
“G”,
“A”,
“B”,
“C”,
“D”,
“E”,
“F#”
],
“triad”: [
“G”,
“B”,
“D”
],
“targetChord”: “320003”,
“fretStrings”: [
“##201#”,
“######”,
“#1####”,
“0###20”,
“###1##”,
“#20###”
]
},
{
“rootNote”: “A”,
“scale”: [
“A”,
“B”,
“C#”,
“D”,
“E”,
“F#”,
“G#”
],
“triad”: [
“A”,
“C#”,
“E”
],
“targetChord”: “x02220”,
“fretStrings”: [
“20###2”,
“######”,
“##201#”,
“######”,
“#1####”,
“0###20”
]
},
{
“rootNote”: “B”,
“scale”: [
“B”,
“C#”,
“D#”,
“E”,
“F#”,
“G#”,
“A#”
],
“triad”: [
“B”,
“D#”,
“F#”
],
“targetChord”: “x24442”,
“fretStrings”: [
“####0#”,
“##1###”,
“20###2”,
“######”,
“##201#”,
“######”
]
}
]
}