Mercurial > hg > silvet
changeset 204:544b45e92ef5
Translate saxophone instrument to tenorsax; call make before running!
author | Chris Cannam |
---|---|
date | Wed, 04 Jun 2014 12:24:47 +0100 |
parents | 607c3c92822f |
children | 9983ef9f5617 |
files | testdata/evaluation/run.sh |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/testdata/evaluation/run.sh Wed Jun 04 12:11:07 2014 +0100 +++ b/testdata/evaluation/run.sh Wed Jun 04 12:24:47 2014 +0100 @@ -27,6 +27,8 @@ *\ *) echo "TRIOS dataset path $trios_path has a space in it, this script won't handle that"; exit 1;; esac +( cd ../.. ; make -f Makefile.linux ) || exit 1 + VAMP_PATH=../.. export VAMP_PATH @@ -52,6 +54,7 @@ instrument_for() { filename="$1" base=`basename "$filename" .wav` + if [ "$base" = "saxophone" ]; then base="tenorsax"; fi instrument_no=`grep "$base" "$instfile" | awk '{ print $1; }'` if [ -z "$instrument_no" ] || [ -z "$base" ]; then echo 0