diff --git a/makeHornInF.sh b/makeHornInF.sh index 2bf4d8b..0ceff96 100755 --- a/makeHornInF.sh +++ b/makeHornInF.sh @@ -36,7 +36,11 @@ find $booke -name "*.abc" | sort | fi # Transpose. By default abc2abc will report errors in the output, - # but this messes up output formatting so stop it. - abc2abc $tmpfile -e -t $transpose > $outdir/$name.abc + # but this messes up output formatting so stop it. Also force all + # output to be in treble clef; some lower tunes with the odd high + # note will otherwise appear in bass clef, which is not what this + # crap horn player wants. + abc2abc $tmpfile -e -t $transpose | \ + sed -e "/^ *K:/s/$/ clef=treble/" > $outdir/$name.abc rm $tmpfile done