From a0efc27ca686603e79d302e4414cb9b59b56baf6 Mon Sep 17 00:00:00 2001 From: Jackson Moore Date: Thu, 7 Jun 2018 18:26:09 +0200 Subject: render pitch height to score --- spec.py | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'spec.py') diff --git a/spec.py b/spec.py index 3be91f2..84d74fc 100644 --- a/spec.py +++ b/spec.py @@ -61,22 +61,27 @@ functionRules = [ pathRules = [ { 'range': [2,3,4], - 'figure': ['rampUp', 'rampDown'], - 'tilt': ['float', 'dive'], + 'figure': ['zigZagUp', 'zigZagDown'], + 'direction': [-1, 0, 1], }, { 'range': [5,6,7], - 'figure': ['stepUp', 'stepDown'], - 'tilt': ['rise', 'fall'], + 'figure': ['rampUp'], + 'direction': [-4,-5,-6], + }, + { + 'range': [5,6,7], + 'figure': ['rampDown'], + 'direction': [4,5,6], }, ] anticipationRules = [ # ['ligature'], - # ['ligature','tilt'], + # ['ligature','direction'], # ['ligature','figure'], [], - ['tilt'], + ['direction'], ['figure'], ] -- cgit v1.2.3