diff options
| author | Jackson Moore <jacksonmoore@tuta.io> | 2018-06-09 15:17:03 +0200 |
|---|---|---|
| committer | Jackson Moore <jacksonmoore@tuta.io> | 2018-06-09 15:17:03 +0200 |
| commit | 2a6446bd77f0e330784d14a291d6db7b9bee91df (patch) | |
| tree | 2dda4c7cfec184663e3c7c0536adf951324b4191 /main.py | |
| parent | 63ce35f3f7ced2200464613654968690328e3973 (diff) | |
reprojected features don't inherit value
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 21 |
1 files changed, 14 insertions, 7 deletions
@@ -27,25 +27,32 @@ render.py list of n passages rendered to music21 score object # g.morphology.print() lexicon = Lexicon() -lexicon.populate(g, 8) +lexicon.populate(g, 13) lexicon.print() print("\n-----------\n-----------\n") -passage = Passage(height=5, size=23) +passage = Passage(height=6) passage.spellout(lexicon) passage.print() # print(passage.bars) -# print(passage.tree) +print(passage.tree) print() renderer = Renderer() renderer.render(passage) -# 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... - +# todo +# working with multiple voices at once +# label events on score +# record phonology/agreement, spellout to log, label it and score with unix time +# rests after constituents, corresponding to depth +# lexemes with opacity to certain features - or: local agreement... +# pruning algorithm for shorter sentences over taller trees - remove random/weighted leaves from larger tree +# fit to instrument range - octave break optimization (score *constituent* boundaries using 2017 codebase metric?) +# convince m21 to break durations into tied notes on the beat +# add discovered lexemes, pairwise dependencies to lexicon pre-population, iteratively +# spec bundles which can be selected and unified (merge-mask) until a full lexeme is obtained (allowing all feature correlations) |