comparison makeWebAudio.sh @ 1026:e4d31e094d24

Changes to get Beginners booke building. The web pages include prev and next links, so to get those right we have to make the tune filenames distinct from the main booke names. So fall back to taking the easy way, and just prefix all tune names with @ or _.
author Jim Hague <jim.hague@acm.org>
date Tue, 18 Feb 2020 15:13:38 +0000
parents d6e2a281cceb
children 1139aa0eb0c2
comparison
equal deleted inserted replaced
1025:796ef7213ef7 1026:e4d31e094d24
76 find $booke -maxdepth 1 -name "*.abc" | sort | 76 find $booke -maxdepth 1 -name "*.abc" | sort |
77 while read filename 77 while read filename
78 do 78 do
79 name=`basename $filename .abc` 79 name=`basename $filename .abc`
80 tunedir=$basetunedir/$name 80 tunedir=$basetunedir/$name
81
82 # Already generated?
83 if [ -f $tunedir/${name}.mp3 ]; then
84 continue
85 fi
86
81 mkdir -p $tunedir 87 mkdir -p $tunedir
82 88
83 makeaudiofiles $filename $tunedir 89 makeaudiofiles $filename $tunedir
84 90
85 # Now make 1/4, 1/2 and 3/4 speed audio. 91 # Now make 1/4, 1/2 and 3/4 speed audio.