Vamp Plugins Forum
Development Topics => Plugin Development => Topic started by: cannam on September 25, 2009, 16:15:48
-
Version 1.0 of the Vamp plugin tester, a simple program that loads and tests Vamp plugins for various common failure cases, is now available. This is the second release, and the first "non-experimental" one.
The tester 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-1.0.tar.gz
OS/X universal binary:
http://downloads.sourceforge.net/vamp/vamp-plugin-tester-1.0-osx-universal.tar.gz
Windows binary:
http://downloads.sourceforge.net/vamp/vamp-plugin-tester-1.0-win32.zip
Linux 32-bit binary:
http://downloads.sourceforge.net/vamp/vamp-plugin-tester-1.0-i686-linux.tar.gz
Linux 64-bit binary:
http://downloads.sourceforge.net/vamp/vamp-plugin-tester-1.0-amd64-linux.tar.gz
Solaris 32-bit x86 binary:
http://downloads.sourceforge.net/vamp/vamp-plugin-tester-1.0-i686-solaris.tar.gz
There is some documentation 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).
Chris