# getRawParameterValue()

**URL:** <https://forum.juce.com/t/getrawparametervalue/22922>\
**Category:** General JUCE discussion\
**Created:** [June 14, 2017, 2:46pm UTC](https://forum.juce.com/t/getrawparametervalue/22922 "2017-06-14T14:46:40Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [June 15, 2017, 10:07am UTC](https://forum.juce.com/t/getrawparametervalue/22922/6 "2017-06-15T10:07:14Z")

</div>

> [@Matthieu\_Brucher](#):
>
> The listener idea is nice, indeed better than what we have. I assume this is [404 - Missing Page - JUCE](https://www.juce.com/doc/classAudioProcessorListener)?

Unfortunately this has caveats, see this thread:

> [@AudioProcessorListener is not notified when host changes parameter](https://forum.juce.com/t/audioprocessorlistener-is-not-notified-when-host-changes-parameter/16059/2):
>
> That's because each wrapper (which is the gate between the Host and the AudioProcessor) is an AudioProcessorListener, therefore when an object that is an&nbsp;AudioProcessorListener calls setValue() it doesn't exactly want a callback to tell it the value has been set. Think of "setValueNotifyingHost" as actually being "setValueNotifyingListener". I think to be honest you probablt shouldn't be using theAudioProcessorListener unless you are creating a new wrapper.

The best way I found was using the SliderAttachments in AudioProcessorValueTreeState etc.  
And if you like that pattern, I have the same done for the “normal” ValueTree, see here:

> **[GitHub - ffAudio/ffGuiAttachments: Attachments for JUCE ValueTree to gui...](https://github.com/ffAudio/ffGuiAttachments)**
>
> Attachments for JUCE ValueTree to gui components. Contribute to ffAudio/ffGuiAttachments development by creating an account on GitHub.

---

_[View the full topic](https://forum.juce.com/t/getrawparametervalue/22922)._
