# Make Parameter of Child AudioProcessor automatable by host?

**URL:** <https://forum.juce.com/t/make-parameter-of-child-audioprocessor-automatable-by-host/18762>\
**Category:** Audio Plugins\
**Created:** [August 17, 2016, 5:49pm UTC](https://forum.juce.com/t/make-parameter-of-child-audioprocessor-automatable-by-host/18762 "2016-08-17T17:49:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![michaeldonovan](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@michaeldonovan](https://forum.juce.com/u/michaeldonovan)\
**Post date:** [August 17, 2016, 5:49pm UTC](https://forum.juce.com/t/make-parameter-of-child-audioprocessor-automatable-by-host/18762/1 "2016-08-17T17:49:51Z")

</div>

Hey all,

I’m working on a plugin that uses multiple AudioProcessors to handle processing. Each AudioProcessor is a member object of the main PluginProcessor class, and each has a set of AudioProcessorParameters stored in an AudioProcessorValueTreeState. At this point everything is working fine, but I can’t seem to figure out how to make the parameters of the child AudioProcessors visible and automatable by the host. Is there a way of doing this?

Thanks!

---

<div class="post-metadata">

**Author:** ![daniel](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/daniel/32/790_2.png) [@daniel](https://forum.juce.com/u/daniel)\
**Post date:** [August 18, 2016, 6:43pm UTC](https://forum.juce.com/t/make-parameter-of-child-audioprocessor-automatable-by-host/18762/2 "2016-08-18T18:43:57Z")

</div>

Does the number and configuration of the member AudioProcessors change? If not, you could add all Parameters to the one “master” AudioProcessorValueTreeState and make all member AudioProcessors [AudioProcessorValueTreeState::Listener()](https://www.juce.com/doc/structAudioProcessorValueTreeState_1_1Listener) to that tree. So you can use the same callback if you use the processors in the master one or alone.  
Just one idea, there might be more solutions…

---

<div class="post-metadata">

**Author:** ![michaeldonovan](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@michaeldonovan](https://forum.juce.com/u/michaeldonovan)\
**Post date:** [August 18, 2016, 7:59pm UTC](https://forum.juce.com/t/make-parameter-of-child-audioprocessor-automatable-by-host/18762/3 "2016-08-18T19:59:23Z")

</div>

Good idea, I’ve been thinking about this the wrong way. That worked with little hassle.

Thanks!
