view valgrinder.sh @ 247:e6abd6e99051

This is not actually a tonic-strength output - it's a key-strength output in which the relative major and minor (which have different tonics but the same key signatures) have been summed into a single bin
author Chris Cannam <cannam@all-day-breakfast.com>
date Thu, 26 Sep 2019 15:44:47 +0100
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