[LAD] Vamp Plugin Tester: a simple test utility for Vamp plugin development

Chris Cannam cannam at all-day-breakfast.com
Fri Mar 20 16:30:05 UTC 2009


Announcing v0.1 of the Vamp plugin tester, a simple program that loads
and tests Vamp audio feature extraction plugins for various common
failure cases.  It can't check whether you're getting the right
results, but it can help you write more resilient and better-behaved
plugins.

Source code:
http://downloads.sourceforge.net/vamp/vamp-plugin-tester-0.1.tar.bz2

OS/X universal binary:
http://downloads.sourceforge.net/vamp/vamp-plugin-tester-0.1-osx-universal.tar.bz2

Windows binary:
http://downloads.sourceforge.net/vamp/vamp-plugin-tester-0.1-win32.zip

For more information about Vamp plugins, please see
http://vamp-plugins.org/.  The "home page" for this utility is the
developer page at http://vamp-plugins.org/develop.html .

There is some documentation for this program in the README file, but
the short version is that you run it at a command prompt with the
library name and plugin name, colon-separated, as an argument:

$ ./vamp-plugin-tester vamp-example-plugins:spectralcentroid

... and see what it has to say about your plugins.  It may also crash;
if it crashes in the middle of one of its tests, that usually means
that your plugin has crashed when faced with some unexpected input
(run it in a debugger, or a memory checking utility if you have one,
to find out where).

This tester does report some genuine bugs when run against several of
the existing Vamp plugins.  I'll be aiming to make some fixes where
I'm able.

This is only the first release, so it's quite likely that the tester
hasn't been tested enough itself yet.  Please report any problems to
me or the Vamp plugins develoment forum at
http://vamp-plugins.org/forum/index.php/board,1.0.html .


Chris



More information about the Linux-audio-dev mailing list