# HG changeset patch # User Jim Hague # Date 1376354901 -3600 # Node ID 6bcafbfac6747b619ab8b99c3bcf662171c63d2e # Parent afca0a74893b8b11c2283d16c1a9f1cb329a029d 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. diff -r afca0a74893b -r 6bcafbfac674 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`