view valgrinder.sh @ 63:b084e87b83e4

* Add README files for the various platform packages * Fix typo in cat file * Return simpler key names from key detector * Chromagram and constant Q default to unnormalized * Permit up to 48 bpo in constant Q
author Chris Cannam <c.cannam@qmul.ac.uk>
date Thu, 07 Feb 2008 10:03: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