chord-progression-network 0.1.6__tar.gz → 0.1.8__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.6 → chord_progression_network-0.1.8}/PKG-INFO +5 -7
- {chord_progression_network-0.1.6 → chord_progression_network-0.1.8}/README.md +4 -6
- {chord_progression_network-0.1.6 → chord_progression_network-0.1.8}/src/chord_progression_network/__init__.py +1 -1
- {chord_progression_network-0.1.6 → chord_progression_network-0.1.8}/src/chord_progression_network.egg-info/PKG-INFO +5 -7
- {chord_progression_network-0.1.6 → chord_progression_network-0.1.8}/LICENSE +0 -0
- {chord_progression_network-0.1.6 → chord_progression_network-0.1.8}/pyproject.toml +0 -0
- {chord_progression_network-0.1.6 → chord_progression_network-0.1.8}/setup.cfg +0 -0
- {chord_progression_network-0.1.6 → chord_progression_network-0.1.8}/src/chord_progression_network/chord_progression_network.py +0 -0
- {chord_progression_network-0.1.6 → chord_progression_network-0.1.8}/src/chord_progression_network.egg-info/SOURCES.txt +0 -0
- {chord_progression_network-0.1.6 → chord_progression_network-0.1.8}/src/chord_progression_network.egg-info/dependency_links.txt +0 -0
- {chord_progression_network-0.1.6 → chord_progression_network-0.1.8}/src/chord_progression_network.egg-info/requires.txt +0 -0
- {chord_progression_network-0.1.6 → chord_progression_network-0.1.8}/src/chord_progression_network.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: chord_progression_network
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.8
|
4
4
|
Summary: Network transition chord progressions
|
5
5
|
Author-email: Gene Boggs <gene.boggs@gmail.com>
|
6
6
|
License: GNU GENERAL PUBLIC LICENSE
|
@@ -777,18 +777,16 @@ from music21 import chord, duration, stream
|
|
777
777
|
from chord_progression_network import Generator
|
778
778
|
from random_rhythms import Rhythm
|
779
779
|
|
780
|
-
r = Rhythm(
|
781
|
-
durations: [ 1/2, 1/3, 1, 3/2, 2 ],
|
782
|
-
groups={1/3: 3, 1/2: 2},
|
783
|
-
)
|
780
|
+
r = Rhythm(durations=[1, 3/2, 2])
|
784
781
|
motifs = [ r.motif() for _ in range(4) ]
|
785
|
-
print(motifs)
|
786
782
|
|
787
783
|
s = stream.Score()
|
788
784
|
p = stream.Part()
|
789
785
|
|
786
|
+
g = Generator()
|
787
|
+
|
790
788
|
for m in motifs:
|
791
|
-
g =
|
789
|
+
g.max = len(m)
|
792
790
|
phrase = g.generate()
|
793
791
|
for i, d in enumerate(m):
|
794
792
|
c = chord.Chord(phrase[i])
|
@@ -79,18 +79,16 @@ from music21 import chord, duration, stream
|
|
79
79
|
from chord_progression_network import Generator
|
80
80
|
from random_rhythms import Rhythm
|
81
81
|
|
82
|
-
r = Rhythm(
|
83
|
-
durations: [ 1/2, 1/3, 1, 3/2, 2 ],
|
84
|
-
groups={1/3: 3, 1/2: 2},
|
85
|
-
)
|
82
|
+
r = Rhythm(durations=[1, 3/2, 2])
|
86
83
|
motifs = [ r.motif() for _ in range(4) ]
|
87
|
-
print(motifs)
|
88
84
|
|
89
85
|
s = stream.Score()
|
90
86
|
p = stream.Part()
|
91
87
|
|
88
|
+
g = Generator()
|
89
|
+
|
92
90
|
for m in motifs:
|
93
|
-
g =
|
91
|
+
g.max = len(m)
|
94
92
|
phrase = g.generate()
|
95
93
|
for i, d in enumerate(m):
|
96
94
|
c = chord.Chord(phrase[i])
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: chord_progression_network
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.8
|
4
4
|
Summary: Network transition chord progressions
|
5
5
|
Author-email: Gene Boggs <gene.boggs@gmail.com>
|
6
6
|
License: GNU GENERAL PUBLIC LICENSE
|
@@ -777,18 +777,16 @@ from music21 import chord, duration, stream
|
|
777
777
|
from chord_progression_network import Generator
|
778
778
|
from random_rhythms import Rhythm
|
779
779
|
|
780
|
-
r = Rhythm(
|
781
|
-
durations: [ 1/2, 1/3, 1, 3/2, 2 ],
|
782
|
-
groups={1/3: 3, 1/2: 2},
|
783
|
-
)
|
780
|
+
r = Rhythm(durations=[1, 3/2, 2])
|
784
781
|
motifs = [ r.motif() for _ in range(4) ]
|
785
|
-
print(motifs)
|
786
782
|
|
787
783
|
s = stream.Score()
|
788
784
|
p = stream.Part()
|
789
785
|
|
786
|
+
g = Generator()
|
787
|
+
|
790
788
|
for m in motifs:
|
791
|
-
g =
|
789
|
+
g.max = len(m)
|
792
790
|
phrase = g.generate()
|
793
791
|
for i, d in enumerate(m):
|
794
792
|
c = chord.Chord(phrase[i])
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|