comparison makeAll.sh @ 1019:ce13e23259b1

Add Alto Sax transposition.
author Jim Hague <jim.hague@acm.org>
date Mon, 03 Feb 2020 10:49:27 +0000
parents c612450d5dc1
children
comparison
equal deleted inserted replaced
1017:c5a8d5d81eb9 1019:ce13e23259b1
64 ./makeHornInF.sh $1 64 ./makeHornInF.sh $1
65 makeATransposedBooke $1-HornInF $1 "horn in F" 65 makeATransposedBooke $1-HornInF $1 "horn in F"
66 66
67 ./makeAltoRecorderCFingering.sh $1 67 ./makeAltoRecorderCFingering.sh $1
68 makeATransposedBooke $1-AltoRecorderCFingering $1 "alto recorder, C fingering" 68 makeATransposedBooke $1-AltoRecorderCFingering $1 "alto recorder, C fingering"
69
70 ./makeAltoSax.sh $1
71 makeATransposedBooke $1-AltoSax $1 "alto saxophone"
69 } 72 }
70 73
71 makeABumperBooke() 74 makeABumperBooke()
72 { 75 {
73 # This can only be used once all the other Bookes have been built. 76 # This can only be used once all the other Bookes have been built.
96 done 99 done
97 100
98 local cellobumper 101 local cellobumper
99 local hornbumber 102 local hornbumber
100 local recorderbumper 103 local recorderbumper
104 local saxbumper
101 105
102 for booke in "$@" 106 for booke in "$@"
103 do 107 do
104 cellobumper+=("${booke}-Cello") 108 cellobumper+=("${booke}-Cello")
105 hornbumper+=("${booke}-HornInF") 109 hornbumper+=("${booke}-HornInF")
106 recorderbumper+=("${booke}-AltoRecorderCFingering") 110 recorderbumper+=("${booke}-AltoRecorderCFingering")
111 saxbumper+=("${booke}-AltoSax")
107 done 112 done
108 makeABumperBooke "${cellobumper[@]}" 113 makeABumperBooke "${cellobumper[@]}"
109 for f in Bumper*.pdf 114 for f in Bumper*.pdf
110 do 115 do
111 t=$(echo $f | sed -e "s/.pdf/-Cello.pdf/") 116 t=$(echo $f | sed -e "s/.pdf/-Cello.pdf/")
119 done 124 done
120 makeABumperBooke "${recorderbumper[@]}" 125 makeABumperBooke "${recorderbumper[@]}"
121 for f in Bumper*.pdf 126 for f in Bumper*.pdf
122 do 127 do
123 t=$(echo $f | sed -e "s/.pdf/-AltoRecorderCFingering.pdf/") 128 t=$(echo $f | sed -e "s/.pdf/-AltoRecorderCFingering.pdf/")
129 mv $f ./web/$t
130 done
131 makeABumperBooke "${saxbumper[@]}"
132 for f in Bumper*.pdf
133 do
134 t=$(echo $f | sed -e "s/.pdf/-AltoSax.pdf/")
124 mv $f ./web/$t 135 mv $f ./web/$t
125 done 136 done
126 } 137 }
127 138
128 declare buildBookes 139 declare buildBookes