PyGuitar generates an easy-to-practice chord book.
Project description
PyGuitar: Chord book generator
PyGuitar generates an easy-to-practice chord book.
Installation
There are two ways to install PyGuitar:
- Install PyGuitar from PyPI (recommended):
$ sudo pip install PyGuitar
- Alternatively: install PyGuitar from the GitHub source:
$ git clone https://github.com/iwasakishuto/PyGuitar.git $ cd PyGuitar $ sudo python setup.py install
How to use
- Create Guitar Instance
from guitar import Guitar guitar = Guitar(key="C", scale="major")
- plot guitar layout
guitar.plot_chord_layout()
- plot guitar strings
guitar.plot_strings()
- plot chord
guitar.plot_chord(chode="G#", string=6, mode="minor")
- export notebook
guitar = Guitar(key="B", scale="major", dark_mode=False) guitar.set_chord(chode="D#", string=5, mode="minor") guitar.set_chord(chode="G#", string=6, mode="minor") guitar.set_chord(chode="E", string=6, mode="major") guitar.set_chord(chode="B", string=5, mode="major") guitar.set_chord(chode="F#", string=6, mode="minor") guitar.set_chord(chode="C#", string=5, mode="major") guitar.set_chord(chode="F#", string=6, mode="sus4") guitar.set_chord(chode="C#", string=5, mode="7th") guitar.set_chord(chode="D#", string=5, mode="7th") guitar.export_chord_book(fmt="pdf")
Reference
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
PyGuitar-0.1.0.tar.gz
(1.0 MB
view hashes)