view valgrinder.sh @ 251:73c9922fb649

Remove "rapid" option again. It changes the results completely in a way that only makes any sense if the only thing we're doing with it is taking the overall modal key
author Chris Cannam <cannam@all-day-breakfast.com>
date Fri, 17 Jan 2020 10:59:04 +0000
parents c78ec2a208e2
children
line wrap: on
line source
#!/bin/sh
ids=`VAMP_PATH=. vamp-simple-host --list-ids`
testfile=$1
if [ ! -f "$testfile" ]; then
    echo "Usage: valgrinder.sh <testfile.wav>"
    exit 2
fi
for id in $ids; do 
    id=`echo $id | sed 's/^vamp://'`
    echo
    echo "Testing $id on $testfile..."
    echo
    VAMP_PATH=. valgrind vamp-simple-host "$id" "$testfile" -o /dev/null
    echo
done