view valgrinder.sh @ 222:bd084c486076

Fix incorrect time alignment of tonal-change plugin outputs. This bug was introduced in December 2008, so we are squashing it just before its tenth birthday.
author Chris Cannam <c.cannam@qmul.ac.uk>
date Mon, 05 Nov 2018 15:31:19 +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