https://github.com/frozencemetery/chordboard
Guitar fretboard diagram generation tool (and flashcards)
https://github.com/frozencemetery/chordboard
chord-diagram chords console flashcard-generator flashcards fretboard fretboard-diagram guitar mnemosyne tui
Last synced: 7 months ago
JSON representation
Guitar fretboard diagram generation tool (and flashcards)
- Host: GitHub
- URL: https://github.com/frozencemetery/chordboard
- Owner: frozencemetery
- License: agpl-3.0
- Created: 2022-01-09T18:03:18.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-16T22:54:29.000Z (almost 4 years ago)
- Last Synced: 2025-02-03T11:14:35.590Z (9 months ago)
- Topics: chord-diagram, chords, console, flashcard-generator, flashcards, fretboard, fretboard-diagram, guitar, mnemosyne, tui
- Language: Python
- Homepage:
- Size: 42 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# chordboard
Simple tool to create guitar fretboard diagrams, with optional ability to
generate a flashcard deck.
It can output images. For instance:
```
$ # Awful chord to show off notation, image scaled up 3x
$ ./main.py 7,8,10,9,11,X T,1,3,2,4,X -o demo.png -x 3
```
produces the demo.png in this repo:

Or it can output to the console:
```
$ # C major
$ ./main.py X,3,2,0,1,0 X,3,2,0,1,0
X 3 2 0 1 0
-----------
| | | | * |
| | * | | |
| * | | | |
| | | | | |
| | | | | |
$
$ # Hendrix-style
$ ./main.py 0,7,6,7,8,0 0,2,1,3,4,0
0 2 1 3 4 0
-----------
6 | | * | | |
| * | * | |
| | | | * |
| | | | | |
| | | | | |
$
$ # Same thing, but notated in fifth position
$ ./main.py -p5 0,3,2,3,4,0 0,2,1,3,4,0
0 2 1 3 4 0
-----------
5 | | | | | |
| | * | | |
| * | * | |
| | | | * |
| | | | | |
$
```
There are many tools that *almost* generate these standard images, but all
that I've found aren't quite right - often they don't have fingerings at the
top, or write note names below (unhelpful for shape memorization), or any
number of other things.
I hope your music goes well!
## genmnemo.py
Tool that generates a
[mnemosnye](https://github.com/mnemosyne-proj/mnemosyne)-compatibile file of
cards for import. Creates chords.cards, which can be imported into mnemosyne.
Chords are given as a space-separated value on stdin. So one could do:
```
$ cat > chords.ssv <