Mercurial > dottes
changeset 218:1a9d937b7765
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.
| author | Jim Hague <jim.hague@laicatc.com> | 
|---|---|
| date | Thu, 21 Feb 2013 07:23:49 +0000 | 
| parents | a8a46fd79d5c | 
| children | a09d400fc4e3 | 
| files | makeHornInF.sh | 
| diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] | 
line wrap: on
 line diff
--- a/makeHornInF.sh Wed Feb 20 13:45:58 2013 +0000 +++ b/makeHornInF.sh Thu Feb 21 07:23:49 2013 +0000 @@ -36,7 +36,11 @@ 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
