import os.path
import shutil
-dirs = ['ancient','chords','connecting','contemporary','expressive','education','guitar','parts','pitch','repeats','scheme','spacing','staff','text','vocal','other','non-music','engravers','instrument-specific']
+dirs = []
+# NR 1
+dirs.extend(['pitches', 'rhythms', 'expressive',
+'repeats', 'simultaneous', 'staff', 'editorial', 'text'])
+# NR 2
+dirs.extend(['vocal', 'chords', 'piano',
+'percussion', 'guitar', 'strings', 'bagpipes', 'ancient'])
+
+
+
+#
+#dirs.extend(['real-music'])
+#dirs = ['ancient','chords','connecting','contemporary','expressive','education','guitar','parts','pitch','repeats','scheme','spacing','staff','text','vocal','other','nonmusic','engravers','instrument']
notsafe=[]
try:
for file in file_names:
if (file.endswith ('.ly')):
src = os.path.join (srcdir, file)
- dest = os.path.join (destdir, file)
+ destname = file.replace (';', '-')
+ dest = os.path.join (destdir, destname)
copy_with_warning(src, dest)
os.system('convert-ly -e ' + dest)
if os.path.exists( dest + '~' ):