Mercurial > hg > qm-vamp-plugins
annotate valgrinder.sh @ 266:d04675d44928 tip master
Refer to SDK from Github
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Wed, 02 Jun 2021 14:41:26 +0100 |
parents | c78ec2a208e2 |
children |
rev | line source |
---|---|
c@61 | 1 #!/bin/sh |
c@61 | 2 ids=`VAMP_PATH=. vamp-simple-host --list-ids` |
c@61 | 3 testfile=$1 |
c@61 | 4 if [ ! -f "$testfile" ]; then |
c@61 | 5 echo "Usage: valgrinder.sh <testfile.wav>" |
c@61 | 6 exit 2 |
c@61 | 7 fi |
c@61 | 8 for id in $ids; do |
c@61 | 9 id=`echo $id | sed 's/^vamp://'` |
c@61 | 10 echo |
c@61 | 11 echo "Testing $id on $testfile..." |
c@61 | 12 echo |
c@61 | 13 VAMP_PATH=. valgrind vamp-simple-host "$id" "$testfile" -o /dev/null |
c@61 | 14 echo |
c@61 | 15 done |