Audio Thread and ValueTree/Value listeners

No! If you’re modifying the ValueTree on another thread then that could happen halfway through your audio thread reading it, so could read garbage or even crash.

Try the CachedValue class for this kind of use-case.