Force Horn in F output to be in treble clef.

Some lower tunes with the odd high note ended up in bass clef. This crap horn
player doesn't do bass clef.
This commit is contained in:
Jim Hague 2013-02-21 07:23:49 +00:00
parent 3a567e0637
commit f4a3ff6fd8
1 changed files with 6 additions and 2 deletions

View File

@ -36,7 +36,11 @@ find $booke -name "*.abc" | sort |
fi fi
# Transpose. By default abc2abc will report errors in the output, # Transpose. By default abc2abc will report errors in the output,
# but this messes up output formatting so stop it. # but this messes up output formatting so stop it. Also force all
abc2abc $tmpfile -e -t $transpose > $outdir/$name.abc # 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 rm $tmpfile
done done