no member named handleModulation
-
While trying to compile the snex node as dll, I see the below error in the Terminal.
no member named 'handleModulation' in 'snex_node_impl::snex_cls<1>'
Also modulation target appears on the wrapped node, I didn't do that.
I am using the below template.
template <int NV> struct WS_snex_cls { SNEX_NODE(snex_cls); float ParamOne = 0.01f; float ParamTwo = 0.01f; float ParamThree = 0.0f; float getSamples(float input) { // My code is here return input + cleansig; } // Initialise the processing specs here void prepare(PrepareSpecs ps) { } // Reset the processing pipeline here void reset() { } // Process the signal here template <typename ProcessDataType> void process(ProcessDataType& data) { for(auto ch: data) { for(auto& s: data.toChannelData(ch)) { s = getSamples(s); } } } // Process the signal as frame here template <int C> void processFrame(span<float, C>& data) { for(auto& s: data) { s = getSamples(s); } } // Process the MIDI events here void handleHiseEvent(HiseEvent& e) { } // Use this function to setup the external data void setExternalData(const ExternalData& d, int index) { } // Set the parameters here template <int P> void setParameter(double v) { if (P == 0) ParamOne = (float)v; if (P == 1) ParamTwo = (float)v; if (P == 2) ParamThree = (float)v; } };
-
@Steve-Mohican Any thoughts?
It seems like this bug happens when the SNEX node is wrapped. If that node is wrapped with other nodes, it doesn't happen.
I think this is a bug.