Previous: OCaml, Up: Interoperability
Requirements:
$ svn co https://vamp.svn.sourceforge.net/svnroot/vamp/vamp-plugin-sdk/trunk vamp-plugin-sdk.
$ svn co https://vamp.svn.sourceforge.net/svnroot/vamp/vamp-plugin-tester/trunk vamp-plugin-tester.
PATH.
MacOSX:
(Tested in 10.6 with gcc 4.2 for i386 and x86_64, linking to both the static and dynamic build of Marsyas.
Note that x86_64 is not supported by Sonic Visualiser yet, but fat binaries with both architectures work fine.)
$ cmake-guiWITH_VAMP ON;MARSYAS_STATIC OFF (static linking not supported)VAMP_LIBRARY: dynamic/static version of libvamp-sdk, from the install path -> /usr/local/lib/libvamp-sdk.dylib or /usr/local/lib/libvamp-sdk.aVAMP_INCLUDE_DIR: vamp sdk src main path -> /usr/local/include/$ makemarsyas_path/build_dir/lib/libmvamp.dylib)
libmvamp.dylib to one of the following paths:
~/Library/Audio/Plug-Ins/Vamp (user use)
/Library/Audio/Plug-Ins/Vamp (system use)
mvamp-plugins.cat, in pre-compiled version or in path/to/marsyas/src/mvamp/, is a txt file for organizing the plugin functions within SonicVisualiser Transforms - for such you may also copy it to the chosen path above, yet it seems to be unnecessary)
$ VAMP_PATH=Path/To/Vamp_Plugins_Directory
$ vamp-plugin-tester -a
$ VAMP_PATH=Path/To/Vamp_Plugins_Directory
$ vamp-simple-host -l
$ vamp-simple-host [-s] pluginlibrary[.dylib]:plugin file.wav [outputno] [-o out.txt]-l above)
Linux OS:
(Tested in Linux Ubuntu 9.04-32bits with gcc 4.3 -> may work on others)
$ cmake-guiWITH_VAMP ON;MARSYAS_STATIC OFF (static linking not supported)VAMP_LIBRARY: dynamic/static version of libvamp-sdk, from the install path -> /usr/local/lib/libvamp-sdk.so or /usr/local/lib/libvamp-sdk.aVAMP_INCLUDE_DIR: vamp sdk src main path -> /usr/local/include/$ makemarsyas_path/build/lib/libmvamp.so)
libmvamp.so (or pre-compiled mvamp.so) to one of the following paths:
/home/(user)/vamp (user use)
/usr/local/lib/vamp (system use)
mvamp-plugins.cat, in pre-compiled version or in path/to/marsyas/src/mvamp/, is a txt file for organizing the plugin functions within SonicVisualiser Transforms - for such you may also copy it to the chosen path above, yet it seems to be unnecessary)
$ VAMP_PATH=Path/To/Vamp_Plugins_Directory
$ vamp-plugin-tester -a
$ VAMP_PATH=Path/To/Vamp_Plugins_Directory
$ vamp-simple-host -l
$ vamp-simple-host [-s] pluginlibrary[.so]:plugin file.wav [outputno] [-o out.txt]-l above)
Windows OS:
(Tested in Windows Vista-32bists with VS2008 and Windows 7 with VS2010 -> may work on others)
WITH_VAMP ON;MARSYAS_STATIC OFF (static linking not supported)VAMP_LIBRARY: static version of libvamp-sdk -> path\to\vamp-plugin-sdk-x.x\build_dir\Release\VampPluginSDK.libVAMP_INCLUDE_DIR: vamp sdk src main path -> path\to\vamp-plugin-sdk-x.xmarsyas_path\build\Marsyas.sln in Visual StudioConfiguration Properties -> Linker -> Command Line -> Additional options
/EXPORT:vampGetPluginDescriptor
mvamp.dll from marsyas_path\build\bin\Release\ to C:\Program Files\Vamp Plugins\ (default VAMP_PATH)VAMP_PATH)
marsyas_path\build\bin\Release\ to environment variable PATH
marsyas.dll from marsyas_path\build\bin\Release\ to SonicVisualiser main directory.
$ vamp-plugin-tester.exe -a
$ vamp-simple-host.exe -l
$ vamp-simple-host.exe [-s] pluginlibrary[.dylib]:plugin file.wav [outputno] [-o out.txt]-l above)
Check tutorial on http://www.vamp-plugins.org/develop.html