From 4362163e75a104793ecdc6820f447d74941c783f Mon Sep 17 00:00:00 2001 From: Jim Hague Date: Tue, 13 Aug 2013 01:48:21 +0100 Subject: [PATCH] Now fix logic error in makeHornInF.sh. And we get some playable tunes. We might be able to improve the transposition further by taking the Cello approach of calculating the minimum distance outside the comfortable range. One for the future. --- makeHornInF.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makeHornInF.sh b/makeHornInF.sh index 4ec636e..140d653 100755 --- a/makeHornInF.sh +++ b/makeHornInF.sh @@ -10,7 +10,7 @@ fi # Transpose down (return 0) if top note was > e (> a for horn). transposedown() { - (($2 <= 109)) + (($2 > 109)) } dir=`pwd`