chord-progression-network 0.1.8__tar.gz → 0.1.9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {chord_progression_network-0.1.8 → chord_progression_network-0.1.9}/PKG-INFO +1 -1
- {chord_progression_network-0.1.8 → chord_progression_network-0.1.9}/src/chord_progression_network/__init__.py +1 -1
- {chord_progression_network-0.1.8 → chord_progression_network-0.1.9}/src/chord_progression_network/chord_progression_network.py +2 -3
- {chord_progression_network-0.1.8 → chord_progression_network-0.1.9}/src/chord_progression_network.egg-info/PKG-INFO +1 -1
- {chord_progression_network-0.1.8 → chord_progression_network-0.1.9}/LICENSE +0 -0
- {chord_progression_network-0.1.8 → chord_progression_network-0.1.9}/README.md +0 -0
- {chord_progression_network-0.1.8 → chord_progression_network-0.1.9}/pyproject.toml +0 -0
- {chord_progression_network-0.1.8 → chord_progression_network-0.1.9}/setup.cfg +0 -0
- {chord_progression_network-0.1.8 → chord_progression_network-0.1.9}/src/chord_progression_network.egg-info/SOURCES.txt +0 -0
- {chord_progression_network-0.1.8 → chord_progression_network-0.1.9}/src/chord_progression_network.egg-info/dependency_links.txt +0 -0
- {chord_progression_network-0.1.8 → chord_progression_network-0.1.9}/src/chord_progression_network.egg-info/requires.txt +0 -0
- {chord_progression_network-0.1.8 → chord_progression_network-0.1.9}/src/chord_progression_network.egg-info/top_level.txt +0 -0
@@ -64,13 +64,12 @@ class Generator:
|
|
64
64
|
|
65
65
|
def _build_scale(self):
|
66
66
|
s = musical_scales.scale(self.scale_note)
|
67
|
-
# remove the octave number from the
|
67
|
+
# remove the octave number from the stringified Note
|
68
68
|
s2 = []
|
69
69
|
for n in s:
|
70
70
|
s2.append(re.sub(r"\d+", "", f"{n}"))
|
71
71
|
if self.flat:
|
72
|
-
|
73
|
-
s2 = flattened
|
72
|
+
s2 = [ self._equiv(note) for note in s2 ]
|
74
73
|
if self.verbose:
|
75
74
|
print('Scale:', s2)
|
76
75
|
return s2
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|