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.0.tar.gz
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for pychord-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f8680b3bfb8da0156c532890591d8c482c9c8d13e49b53d1f86320df0bac130 |
|
MD5 | 790b39ec0eb4681d8d451bd03a06a58f |
|
BLAKE2b-256 | 104d4ba1fd1acbdf7c47c39305f1b5d423136c966ef26f5d44498f8ff0d947bd |