From 63ce35f3f7ced2200464613654968690328e3973 Mon Sep 17 00:00:00 2001 From: Jackson Moore Date: Fri, 8 Jun 2018 17:48:31 +0200 Subject: render pitch modulo 3 to score --- main.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'main.py') 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... -- cgit v1.2.3