Pythagoras Chords v0.1.1
How to Use
from pythagoraschords import PythagorasChords
pc = PythagorasChords("A")
print(pc.get_number())
print(pc.get_tone())
print(pc.get_major_scale())
print(pc.get_major_triad_scale())
print(pc.get_diatonic_extended_chords())
print(pc.get_diatonic_extended_chord(0))
print(pc.get_diatonic_extended_degree(0,0))
Output:
0
A
['A', 'B', 'C♯', 'D', 'E', 'F♯', 'G♯']
[['A', 'C♯', 'E'], ['B', 'D', 'F♯'], ['C♯', 'E', 'G♯'], ['D', 'F♯', 'A'], ['E', 'G♯', 'B'], ['F♯', 'A', 'C♯'], ['G♯', 'B', 'D']]
[['A', 'C♯', 'E', 'G♯', 'B', 'D', 'F♯'], ['B', 'D', 'F♯', 'A', 'C♯', 'E', 'G♯'], ['C♯', 'E', 'G♯', 'B', 'D', 'F♯', 'A'], ['D', 'F♯', 'A', 'C♯', 'E', 'G♯', 'B'], ['E', 'G♯', 'B', 'D', 'F♯', 'A', 'C♯'], ['F♯', 'A', 'C♯', 'E', 'G♯', 'B', 'D'], ['G♯', 'B', 'D', 'F♯', 'A', 'C♯', 'E']]
['A', 'C♯', 'E', 'G♯', 'B', 'D', 'F♯']
A
A
Musical name: La
Semitone number: 0
A♯ / A# / AS / BB / B♭
Musical names:
La sharp (A♯)
Si flat (B♭)
Semitone number: 1
B
Musical name: Si
Semitone number: 2
C
Musical name: Do
Semitone number: 3
C♯ / C# / CS / DB / D♭
Musical names:
Do sharp (C♯)
Re flat (D♭)
Semitone number: 4
D
Musical name: Re
Semitone number: 5
D♯ / D# / DS / EB / E♭
Musical names:
Re sharp (D♯)
Mi flat (E♭)
Semitone number: 6
E
Musical name: Mi
Semitone number: 7
F
Musical name: Fa
Semitone number: 8
F♯ / F# / FS / GB / G♭
Musical names:
Fa sharp (F♯)
Sol flat (G♭)
Semitone number: 9
G
Musical name: Sol
Semitone number: 10
G♯ / G# / GS / AB / A♭
Musical names:
Sol sharp (G♯)
La flat (A♭)
Semitone number: 11
Note
- This algorithm is public domain under the CC0 license.
- The logic is entirely original and was not generated by AI, ensuring that it is not an indirect copy of third‑party work.
- I affirm that this algorithm is public, and anyone may use it for any purpose.
Thanks
- I dedicate this work to my family, my friends, and the churches where I learned musical logic in Brazil, São Paulo, Jardim Eliza Maria.
- I thank J.L. Donadeli for giving me several guitar tips.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pythagoraschords-0.1.1.tar.gz.
File metadata
- Download URL: pythagoraschords-0.1.1.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7668743ab721642c934b81ddb0108f6ea9fef0056ac568b4a6e32272b106e65
|
|
| MD5 |
17d828cb4b2893353e9d6b61ab0aac61
|
|
| BLAKE2b-256 |
4440b154400b17a4f60e44934755d514cc03dd34aa1483e75d0d2190d36f84d6
|
File details
Details for the file pythagoraschords-0.1.1-py3-none-any.whl.
File metadata
- Download URL: pythagoraschords-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e1f697a8e5899fea0f569e98fee46ca12f27ff317bcfc90168f45ba06474d8e
|
|
| MD5 |
c78fe08b6fd32aef1f0565113ff31786
|
|
| BLAKE2b-256 |
e418bf97894dda4bc2dd4fbbcc5e56c9ff9c40291aaca740f3808ddcc7de58bc
|