Created
April 21, 2020 12:48
-
-
Save r9y9/ee120206edb9345ccec48fa6159ef7a4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
NEUTRINO_DIR=~/sp/NEUTRINO | |
dst_dir=./sinsy_lab | |
mkdir -p $dst_dir/full | |
mkdir -p $dst_dir/mono | |
for f in musicxml/*.xml | |
do | |
name=$(basename $f) | |
lab_name=${name/.xml/.lab} | |
$NEUTRINO_DIR/bin/musicXMLtoLabel $f $dst_dir/full/${lab_name} $dst_dir/mono/${lab_name} | |
diff $dst_dir/full/${lab_name} pysinsy_lab/full/${lab_name} | |
diff $dst_dir/mono/${lab_name} pysinsy_lab/mono/${lab_name} | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment