comparison makeCello.sh @ 215:3c9d9654d4a1

Add 'clef=bass' into the converted output. This doesn't affect output from abcm2ps, which assumes bass clef for a middle=D, but I like the idea of being more explicit.
author Jim Hague <jim.hague@laicatc.com>
date Wed, 20 Feb 2013 12:48:02 +0000
parents 8f352063f277
children 7b98278d6e8b
comparison
equal deleted inserted replaced
214:a8f8718d2cf7 215:3c9d9654d4a1
31 middle="d" 31 middle="d"
32 if grep -v "^[A-Z]:" $filename | sed -e 's/"[^"]*"//g' | grep -q "[A-Z],"; then 32 if grep -v "^[A-Z]:" $filename | sed -e 's/"[^"]*"//g' | grep -q "[A-Z],"; then
33 middle="D" 33 middle="D"
34 fi 34 fi
35 name=`basename $filename .abc` 35 name=`basename $filename .abc`
36 sed -e "/^ *K:/s/$/ middle=$middle/" $filename > $outdir/$name.abc 36 sed -e "/^ *K:/s/$/ clef=bass middle=$middle/" $filename > $outdir/$name.abc
37 done 37 done