NamedTuple Chord
pylang opened this issue · 3 comments
pylang commented
First off - great, fun library.
Your example of the C-chord in some tuning:
>>> print(c_chord.fingering(fretboard=fretboard))
(0, 0, 0, 3, 3, 3)
It was not clear which tuning this was, but modifying your example to standard tuning, the C-chord could be:
>>> print(c_chord.fingering(fretboard=fretboard))
(0, 3, 2, 0, 1, 0)
or is it reversed?
>>> print(c_chord.fingering(fretboard=fretboard))
(0, 1, 0, 2, 3, 0)
You can see the source of certainty. I think returning a namedtuple
would clear up any confusion with tunings:
>>> print(c_chord.fingering(fretboard=fretboard))
Fingering('E'=0, 'A'=3, 'D'=2, 'G'=0, 'B'=1, 'e'=0)
pylang commented
This was @kennethreitz's project. What happened?