1
0
Fork 0
mirror of https://github.com/kastdeur/pipeband-music.git synced 2025-05-17 13:29:22 +02:00

Revert "Decided to put all the music files in a separate git"

This reverts commit c6a9c95632.
This commit is contained in:
Eric Teunis de Boone 2015-12-18 14:10:39 +01:00
parent c6a9c95632
commit c601ae3601
200 changed files with 5913 additions and 54 deletions

34
book/load_scores Normal file
View file

@ -0,0 +1,34 @@
#!/bin/bash
MKDRUM_DIR="../"
MKDRUMCOMMAND=$MKDRUM_DIR"makedrum"
SCORES_DIR="./scores/"
trap "echo Aborted!; exit;" SIGINT SIGTERM
another_dir () {
d=$1
for f in $d/*
do
if [ -d $f ]; then
another_dir $f
continue
fi
if [ ! -f $f ]; then
continue
fi
if [[ ! "$f" == *.ly ]]; then
continue
fi
mkdir -p $SCORES_DIR${d/$MKDRUM_DIR}
#echo $SCORES_DIR${f/$MKDRUM_DIR}
$MKDRUMCOMMAND $f -d $SCORES_DIR${d/$MKDRUM_DIR}
done;
}
for d in ${MKDRUM_DIR}*_marches ${MKDRUM_DIR}strathspeys ${MKDRUM_DIR}standards ${MKDRUM_DIR}jigs ${MKDRUM_DIR}airs ${MKDRUM_DIR}hornpipes ${MKDRUM_DIR}other
do
another_dir $d
done;