From 6f14ded166e35879e0522f2e62347a3a709518e4 Mon Sep 17 00:00:00 2001 From: Houyhnhnm Date: Sun, 3 Jun 2018 19:34:34 +0200 Subject: feature unification, spellout --- spec.py | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'spec.py') diff --git a/spec.py b/spec.py index 4125d97..65e6ec8 100644 --- a/spec.py +++ b/spec.py @@ -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 = [ -- cgit v1.2.3