summaryrefslogtreecommitdiff
path: root/harmony.py
diff options
context:
space:
mode:
Diffstat (limited to 'harmony.py')
-rw-r--r--harmony.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/harmony.py b/harmony.py
index 9247acb..ebef53d 100644
--- a/harmony.py
+++ b/harmony.py
@@ -95,6 +95,9 @@ def makeLens(harmonyFeatures, ligature):
lens.append( flatten(expand(address, 7))[33] )
if note == -1/32:
lens.append( flatten(expand(address, 7))[31] )
+ for shift in lens:
+ shift = (shift+harmonyFeatures['transposition'])
+ if abs(shift) == 2: shift = int(shift * -1/2)
return lens
def expand(address, magnification, getValues=True):