diff testdata/evaluation/run-singleinstrumenttest.sh @ 269:40684b5dd478

Run draft-mode tests as well (actually they come out quite well on F measure)
author Chris Cannam
date Wed, 23 Jul 2014 18:28:42 +0100
parents 7cb021e40732
children
line wrap: on
line diff
--- a/testdata/evaluation/run-singleinstrumenttest.sh	Wed Jul 23 18:28:29 2014 +0100
+++ b/testdata/evaluation/run-singleinstrumenttest.sh	Wed Jul 23 18:28:42 2014 +0100
@@ -77,6 +77,7 @@
     
     piece=`basename \`dirname "$infile" \``
     arrangement=`basename "$infile" .wav`
+    mode=1
 
     # We run this twice, once using the default instrument
     # (i.e. "multiple or unknown") and once using the intended
@@ -90,7 +91,9 @@
 	sox "$infile" "$tmpwav" gain -n -6.020599913279624
 
 	# generate the transform by interpolating the instrument parameter
-	cat transform.ttl | sed "s/INSTRUMENT_PARAMETER/$instrument/" > "$transfile"
+	cat transform.ttl | \
+	    sed "s/INSTRUMENT_PARAMETER/$instrument/" | \
+	    sed "s/MODE_PARAMETER/$mode/" > "$transfile"
 
 	sonic-annotator \
 	    --writer csv \