essentia icon indicating copy to clipboard operation
essentia copied to clipboard

Error using VectorInput auto-connector in streaming mode ('_Myfirst' is not a member of 'essentia::RogueVector<t>')

Open yyf opened this issue 3 years ago • 0 comments

Hi, I'm trying to use VectorInput auto-connector for my app running in streaming mode, but I'm getting a RougeVector.h related error: '_Myfirst' is not a member of 'essentia::RogueVector<t>'

Here is my setup following this doc https://essentia.upf.edu/streaming_architecture.html#special-connectors

VectorInput<Real> *inputVector;
inputVector = new VectorInput<Real>(&audioBuffer);
*inputVector >> myAlgorithm->input("array");
...
myAlgorithm->process();

I did a quick search but wasn't able to find similar issues. Maybe I miss something in my setup or should I instead use myAlgorithm->input("array").set(myArray)? Does running process() alone enough in streaming mode or it still requires Network myNetwork(VectorInput) then myNetwork.run()? Thanks.

yyf avatar Feb 17 '22 17:02 yyf