diff options
| author | Houyhnhnm <hykusb@bitmai.la> | 2018-06-03 19:34:34 +0200 |
|---|---|---|
| committer | Houyhnhnm <hykusb@bitmai.la> | 2018-06-03 19:34:34 +0200 |
| commit | 6f14ded166e35879e0522f2e62347a3a709518e4 (patch) | |
| tree | a191d9f3b020a94b4769293772939c8fbf15f2f4 /spec.py | |
| parent | 01071c8123e6b30eeff88272bf4fc7325d62dd5a (diff) | |
feature unification, spellout
Diffstat (limited to 'spec.py')
| -rw-r--r-- | spec.py | 19 |
1 files changed, 17 insertions, 2 deletions
@@ -3,16 +3,26 @@ from grammar import * footprintRules = [ [{ 'span': [2], - 'gait': ['double','triple'], + 'gait': ['double'], 'foot': [[-1/2, 0, 1/2]], 'step': [[0, 1/2], [0, 1/2], [0, 1/2]], }], + [{ + 'span': [4], + 'gait': ['triple'], + 'foot': [[-1/2, 0, 1/2]], + 'step': [[0], [1/2], [0]], + }], ] functionRules = [ { 'address': ['A1','B1'], - 'transposition': [-1,0,1], + 'transposition': [-1], + }, + { + 'address': ['C1','D1'], + 'transposition': [0], }, ] @@ -22,6 +32,11 @@ pathRules = [ 'figure': ['rampUp', 'rampDown'], 'tilt': ['float', 'dive'], }, + { + 'range': [5,6,7], + 'figure': ['stepUp', 'stepDown'], + 'tilt': ['rise', 'fall'], + }, ] anticipationRules = [ |