chord-progression-network 0.1.6__py3-none-any.whl → 0.1.7__py3-none-any.whl

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.
@@ -1,4 +1,4 @@
1
1
  # The root of the entire project
2
2
  from chord_progression_network.chord_progression_network import Generator
3
3
 
4
- __version__ = "0.1.6"
4
+ __version__ = "0.1.7"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chord_progression_network
3
- Version: 0.1.6
3
+ Version: 0.1.7
4
4
  Summary: Network transition chord progressions
5
5
  Author-email: Gene Boggs <gene.boggs@gmail.com>
6
6
  License: GNU GENERAL PUBLIC LICENSE
@@ -778,23 +778,23 @@ from chord_progression_network import Generator
778
778
  from random_rhythms import Rhythm
779
779
 
780
780
  r = Rhythm(
781
- durations: [ 1/2, 1/3, 1, 3/2, 2 ],
781
+ durations=[ 1/2, 1/3, 1, 3/2, 2 ],
782
782
  groups={1/3: 3, 1/2: 2},
783
783
  )
784
784
  motifs = [ r.motif() for _ in range(4) ]
785
- print(motifs)
786
785
 
787
786
  s = stream.Score()
788
787
  p = stream.Part()
789
788
 
789
+ g = Generator()
790
+
790
791
  for m in motifs:
791
- g = Generator(max=len(m))
792
+ g.max = len(m)
792
793
  phrase = g.generate()
793
794
  for i, d in enumerate(m):
794
795
  c = chord.Chord(phrase[i])
795
796
  c.duration = duration.Duration(d)
796
797
  p.append(c)
797
-
798
798
  s.append(p)
799
799
 
800
800
  s.show()
@@ -0,0 +1,7 @@
1
+ chord_progression_network/__init__.py,sha256=F5M0ImvMv3ePXNrjU607Pau2NW9jXfVPXMnQerBQPKM,129
2
+ chord_progression_network/chord_progression_network.py,sha256=arIOhj1lPGU52MiiUjNSLxb-xaamtTuQ0frViY02umA,7767
3
+ chord_progression_network-0.1.7.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
4
+ chord_progression_network-0.1.7.dist-info/METADATA,sha256=Q2pNxsFHkKOsfxOdzoP5wzHINyzJjr_-ZZuC8PXMehw,44952
5
+ chord_progression_network-0.1.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
6
+ chord_progression_network-0.1.7.dist-info/top_level.txt,sha256=wFUVCeOSCx3HJnvfUXj-OD7ElVGjXWJSBwHCJnqcCu0,26
7
+ chord_progression_network-0.1.7.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- chord_progression_network/__init__.py,sha256=t5UCJ4wb5sRbaul7y2k5hyEIn4MqputEcTK916Y1eHc,129
2
- chord_progression_network/chord_progression_network.py,sha256=arIOhj1lPGU52MiiUjNSLxb-xaamtTuQ0frViY02umA,7767
3
- chord_progression_network-0.1.6.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
4
- chord_progression_network-0.1.6.dist-info/METADATA,sha256=8Y_I24O6DRkvpPTyTXdVAPdmON5uCle-bUiS3bVtRdY,44962
5
- chord_progression_network-0.1.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
6
- chord_progression_network-0.1.6.dist-info/top_level.txt,sha256=wFUVCeOSCx3HJnvfUXj-OD7ElVGjXWJSBwHCJnqcCu0,26
7
- chord_progression_network-0.1.6.dist-info/RECORD,,