void ZenAudioProcessorValueTreeState::valueTreeRedirected(ValueTree& v)
{
	if (v == state)
		updateParameterConnectionsToChildTrees();
}
void ZenAudioProcessorValueTreeState::valueTreeChildRemoved(ValueTree& parent, ValueTree& tree, int)
{
	if (parent == state && tree.hasType(valueType))
		updateParameterConnectionsToChildTrees();
}
void AudioProcessorValueTreeState::valueTreeChildRemoved (ValueTree& parent, ValueTree&, int)
{
    if (parent == state)
        updateParameterConnectionsToChildTrees();
}
void ZenAudioProcessorValueTreeState::valueTreePropertyChanged(ValueTree& tree, const Identifier& prop)
{
	if (prop == idPropertyID && tree.hasType(valueType) && tree.getParent() == state)
		updateParameterConnectionsToChildTrees();
}
void AudioProcessorValueTreeState::valueTreePropertyChanged (ValueTree&, const Identifier& property)
{
    if (property == idPropertyID)
        updateParameterConnectionsToChildTrees();
}