essentia
essentia copied to clipboard
Error using VectorInput auto-connector in streaming mode ('_Myfirst' is not a member of 'essentia::RogueVector<t>')
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.