summaryrefslogtreecommitdiff
path: root/sampling_alg_lac2020/midi_tests/run_tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sampling_alg_lac2020/midi_tests/run_tests.sh')
-rwxr-xr-xsampling_alg_lac2020/midi_tests/run_tests.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/sampling_alg_lac2020/midi_tests/run_tests.sh b/sampling_alg_lac2020/midi_tests/run_tests.sh
index 556a3ac..bcf29ff 100755
--- a/sampling_alg_lac2020/midi_tests/run_tests.sh
+++ b/sampling_alg_lac2020/midi_tests/run_tests.sh
@@ -27,5 +27,8 @@ elif [ "$alg" = "new" ]; then
parameters="-I speed=4 -p close=.9,diverse=0.04,random=0.01 -x -X attack=0,release=0,stddev=0"
fi
-$bin -i midifile -I file=$midifile -I midimap=$midimap $parameters -o wavfile -O file="$output" $kit | grep "index: " | awk '{print $8}' | sed 's/.$//' > "$output"
- sort -n "$output" | uniq -c | awk '{print $2 " " $1}'
+# $bin -i midifile -I file=$midifile -I midimap=$midimap $parameters -o wavfile -O file="$output" $kit | grep "index: " | awk '{print $8}' | sed 's/.$//' > "$output"
+# sort -n "$output" | uniq -c | awk '{print $2 " " $1}'
+
+$bin -i midifile -I file=$midifile -I midimap=$midimap $parameters -o dummy $kit | grep "index: " | awk '{print $20}' > "$output"
+# sort -n "$output" | uniq -c | awk '{print $2 " " $1}'