Now fix logic error in makeHornInF.sh. build-default-156
authorJim Hague <jim.hague@acm.org>
Tue, 13 Aug 2013 01:48:21 +0100
changeset 351 6bcafbfac674
parent 350 afca0a74893b
child 352 c79382d6026b
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
--- a/makeHornInF.sh	Tue Aug 13 01:06:24 2013 +0100
+++ b/makeHornInF.sh	Tue Aug 13 01:48:21 2013 +0100
@@ -10,7 +10,7 @@
 # Transpose down (return 0) if top note was > e (> a for horn).
 transposedown()
 {
-    (($2 <= 109))
+    (($2 > 109))
 }
 
 dir=`pwd`