summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorJackson Moore <jacksonmoore@tuta.io>2018-06-08 17:48:31 +0200
committerJackson Moore <jacksonmoore@tuta.io>2018-06-08 17:48:31 +0200
commit63ce35f3f7ced2200464613654968690328e3973 (patch)
treee029be085842cd10462ed66731f0f63f71884fd9 /main.py
parentfb840f62aabc3c151c1a864ee156c02d28188bea (diff)
render pitch modulo 3 to score
Diffstat (limited to 'main.py')
-rw-r--r--main.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/main.py b/main.py
index c10e210..8aaafbd 100644
--- a/main.py
+++ b/main.py
@@ -28,25 +28,24 @@ render.py list of n passages rendered to music21 score object
lexicon = Lexicon()
lexicon.populate(g, 8)
+
lexicon.print()
print("\n-----------\n-----------\n")
passage = Passage(height=5, size=23)
+
passage.spellout(lexicon)
passage.print()
-
# print(passage.bars)
# print(passage.tree)
print()
-
-# next: go through spellout, create musical data, append to music21 score
-
renderer = Renderer()
renderer.render(passage)
-
-# then: add good lexemes, good pairwise dependencies to lexicon pre-population, iteratively...
+# todo: working with multiple voices at once
+# todo: convincing m21 to break durations into tied notes over the tactus
+# todo: add discovered lexemes, pairwise dependencies to lexicon pre-population, iteratively...