mirror of
https://github.com/kennethreitz/pytheory.git
synced 2026-06-05 06:46:14 +00:00
improvements
This commit is contained in:
@@ -49,7 +49,7 @@ SCALES = {
|
||||
"major": {"major": True, "hemitonic": True},
|
||||
"minor": {"minor": True, "hemitonic": True},
|
||||
"harmonic minor": {"minor": True, "harmonic": True, "hemitonic": True},
|
||||
"melodic minor": {"minor": True, "melodic": True, "hemitonic": True},
|
||||
# "melodic minor": {"minor": True, "melodic": True, "hemitonic": True},
|
||||
},
|
||||
],
|
||||
# TODO: understand this
|
||||
@@ -69,6 +69,8 @@ SCALES = {
|
||||
}
|
||||
}
|
||||
|
||||
SYSTEMS = NotImplemented
|
||||
|
||||
for i, (degree_name, modes) in enumerate(DEGREES["western"]):
|
||||
for mode in modes:
|
||||
SCALES[12]["heptatonic"][1].update(
|
||||
|
||||
+1
-7
@@ -1,13 +1,7 @@
|
||||
from math import ceil, floor
|
||||
import numeral
|
||||
|
||||
from ._statics import REFERENCE_A, TEMPERAMENTS, TONES, DEGREES, SCALES
|
||||
|
||||
|
||||
class Pitch:
|
||||
def __init__(self, *, frequency):
|
||||
self.frequency = frequency
|
||||
|
||||
from ._statics import REFERENCE_A, TEMPERAMENTS, TONES, DEGREES, SCALES, SYSTEMS
|
||||
|
||||
class Tone:
|
||||
# __slots__ = ("name", "octave", "system")
|
||||
|
||||
Reference in New Issue
Block a user