First time using ValueTrees so I may be misunderstanding the purpose.
I have a function that gets called when a slider value is changed. This function supposedly updates parameters in a ValueTree - which it does for a bit. But frequently this causes assertions " JUCE Assertion failure in juce_ArrayBase.h:142". Am I completely on the wrong track, this code is:
void setParameter(float value)
{
static Identifier parameterIdentifier ("Parameter");
parameters.setProperty(parameterIdentifier, value, nullptr);
}
Thanks