A library to handle musical chords in python.
Project description
Overview
Pychord is a python library to handle musical chords.
Installation
$ pip install pychord
Usage
Create a Chord
>>> from pychord import Chord
>>> c = Chord("Am7")
>>> c.info()
"""
Am7
root=A
quality=m7
appended=[]
on=None
"""
Transpose a Chord
>>> from pychord import Chord
>>> c = Chord("Am7/G")
>>> c.transpose(3)
>>> c
"Cm7/Bb"
Get component notes
>>> from pychord import Chord
>>> c = Chord("Am7")
>>> c.components()
['A', 'C', 'E', 'G']
Supported Python Versions
2.7
3.3 and above
Links
License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pychord-0.1.1.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for pychord-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48a3cce09567d161fdd2f8d2d1d2dcddfa4e5730bfad5b2b6f4edd240389bdd3 |
|
MD5 | 9dfe89fc21005efaddd0ba6e06e145f9 |
|
BLAKE2b-256 | cf407b996ff48b818f7fd431dae5da7ba2e2cbae6ef2f220abc0db342f80cb60 |