Failed to generate some extreme chords
Opened this issue · 1 comments
muhghazaliakbar commented
I'm trying to generate this chord: https://tombatossals.github.io/react-chords/guitar/C/aug7 by following the chords-db
: https://github.com/tombatossals/chords-db/blob/master/src/db/guitar/chords/C/aug7.js#L19-L22 using codesandbox but it's returning error. https://codesandbox.io/s/chords-b-test-l0kln4?file=/src/App.js
Any solution for this?
kevin-lambda commented
I was able to create Caug7 (v4) with the code below.
Code sandbox
const MyChord = () => {
const chord = {
frets: [-1, -1, 1, 4, 2, 3],
fingers: [0, 0, 1, 4, 2, 3],
barres: [],
capo: false,
baseFret: 10,
}
const instrument = {
strings: 6,
fretsOnChord: 4,
name: "Guitar",
keys: ["C"],
tunings: {
standard: ["", "", "", "", "", ""],
},
}
const lite = false // defaults to false if omitted
return <Chord chord={chord} instrument={instrument} lite={lite} />
}