Using Vamp Plugins and Hosts > Getting and Using Vamp Plugins

vamp-libxtract too many outputs from plugin

(1/1)

beam:
Hi guys,

I'm trying to use vamp-libxtract plugins. When used with the vamp-simple-host, I get warning messages like this:

> ./vamp-simple-host vamp-libxtract:mfcc:mfcc test_mono.wav
WARNING: PluginAdapterBase::Impl::convertFeatures: Too many outputs from plugin (2, only should be 1)
...

output has only timestamp and no mfcc value.

I'm using latest stable releases :
- vamp SDK v1.3
- vamp-libxtract.so : 0.4.2.20071019
on linux 32bits (debian etch).

it happens with almost all libxtract plugins, but it works well with other plugin libraries
I tried recompiling vamp-libxtract from sources, but I got same results.

maybe i'm missing something ...

do you have an idea ?

++
beam

cannam:
Yes, I can confirm this.  I'll look into it.


Chris

cannam:
Yes, that was a stupid one.  Thanks for reporting it!

I've fixed it in Subversion (rev 907 at https://vamp.svn.sourceforge.net/svnroot/vamp/vamp-libxtract-plugins/trunk).  If you want to fix your local copy without retrieving a new one, this is the patch:


--- Code: ------ plugins/XTractPlugin.cpp (revision 906)
+++ plugins/XTractPlugin.cpp (working copy)
@@ -225,6 +225,7 @@
      m_outputBinCount = 1; break;
     }
 
+    m_outputDescriptors.clear();
     setupOutputDescriptors();
 
     m_initialised = true;

--- End code ---

Of course, I will also push out a release with this fix soon.


Chris

beam:
Thanks for the patch, everythings is ok now :-)

++
beam

Navigation

[0] Message Index

Go to full version