diff options
| author | Houyhnhnm <hykusb@bitmai.la> | 2018-06-05 15:38:15 +0200 |
|---|---|---|
| committer | Houyhnhnm <hykusb@bitmai.la> | 2018-06-05 15:38:15 +0200 |
| commit | fb85212cbc8e7a2866c6dda916e810df2a4ea4e0 (patch) | |
| tree | 1d0c2f116052aad26ace6d8b32340a23112d29ac /spec.py | |
| parent | 6f14ded166e35879e0522f2e62347a3a709518e4 (diff) | |
compute barlines preferentially for most prominent downs
Diffstat (limited to 'spec.py')
| -rw-r--r-- | spec.py | 57 |
1 files changed, 47 insertions, 10 deletions
@@ -5,25 +5,57 @@ footprintRules = [ 'span': [2], 'gait': ['double'], 'foot': [[-1/2, 0, 1/2]], - 'step': [[0, 1/2], [0, 1/2], [0, 1/2]], + 'sync': [[0, 1/2], [0, 1/2], [0, 1/2]], }], [{ - 'span': [4], - 'gait': ['triple'], + 'span': [1], + 'gait': ['trp_ls'], 'foot': [[-1/2, 0, 1/2]], - 'step': [[0], [1/2], [0]], + 'sync': [[0], [0], [0]], + }], + [{ + 'span': [2], + 'gait': ['double'], + 'foot': [[-1/2, -1/4, 0, 1/2]], + 'sync': [[0, 1/4], [0, 1/4], [0, 1/4], [0, 1/4]], + }], + [{ + 'span': [1], + 'gait': ['trp_sl'], + 'foot': [[-1/2, -1/4, 0, 1/4]], + 'sync': [[0], [0], [0], [0]], + }], + [{ + 'span': [1], + 'gait': ['double'], + 'foot': [[-1/2, -1/4, 0, 1/2]], + 'sync': [[0], [0], [0], [0]], + }], + [{ + 'span': [2], + 'gait': ['trp_ll'], + 'foot': [[-1/2, -1/4, 0, 1/4]], + 'sync': [[0, 1/4], [0, 1/4], [0, 1/4], [0, 1/4]], }], ] functionRules = [ { 'address': ['A1','B1'], - 'transposition': [-1], + 'transposition': [-1,0], }, { 'address': ['C1','D1'], - 'transposition': [0], + 'transposition': [0,1], }, + # { + # 'address': ['D2','C2'], + # 'transposition': [0,1], + # }, + # { + # 'address': ['E1','E2'], + # 'transposition': [0,1], + # }, ] pathRules = [ @@ -40,17 +72,22 @@ pathRules = [ ] anticipationRules = [ - ['footprint'], - ['tilt'], + # ['footprint'], + # ['footprint','tilt'], + # ['footprint','figure'], [], + ['tilt'], + ['figure'], ] prolongationRules = [ - ['address','transposition'], + ['address','figure','range'], + ['address','figure'], + ['address','range'], ['address'], ['figure','range'], + ['figure'], ['range'], - ['range','tilt'], ] # assemble grammar object |