# What's the proper method for creating Parameters?

**URL:** <https://forum.juce.com/t/whats-the-proper-method-for-creating-parameters/65863>\
**Category:** Audio Plugins\
**Created:** [April 19, 2025, 4:36pm UTC](https://forum.juce.com/t/whats-the-proper-method-for-creating-parameters/65863 "2025-04-19T16:36:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![noddy-oer](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/noddy-oer/32/20900_2.png) [@noddy-oer](https://forum.juce.com/u/noddy-oer)\
**Post date:** [April 19, 2025, 4:36pm UTC](https://forum.juce.com/t/whats-the-proper-method-for-creating-parameters/65863/1 "2025-04-19T16:36:48Z")

</div>

I’m coming back to JUCE development after a couple of months and I’m wanting to get up to date on the proper way for creating parameters. I’ve seen some information on the **AudioProcessorValueTreeState** but I’m not sure how to set it up, nor how it connects to a plugin’s **ProcessorEditor**.

What’s the standard way of creating **Parameters** , and are there any examples that show this?

---

<div class="post-metadata">

**Author:** ![AdamVenn](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/adamvenn/32/17023_2.png) [@AdamVenn](https://forum.juce.com/u/AdamVenn)\
**Post date:** [April 22, 2025, 12:25pm UTC](https://forum.juce.com/t/whats-the-proper-method-for-creating-parameters/65863/2 "2025-04-22T12:25:03Z")

</div>

I would recommend using the AudioProcessorValueTreeState to create your parameters. There is an example here:

> **[JUCE: AudioProcessorValueTreeState Class Reference](https://docs.juce.com/develop/classAudioProcessorValueTreeState.html#acca3c6aca19e89d2781f0d1314d639e8)**

To interact with your editor, I recommend parameter attachments:

> **[JUCE: ParameterAttachment Class Reference](https://docs.juce.com/develop/classParameterAttachment.html)**

---

<div class="post-metadata">

**Author:** ![arcathrax](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@arcathrax](https://forum.juce.com/u/arcathrax)\
**Post date:** [April 23, 2025, 10:37am UTC](https://forum.juce.com/t/whats-the-proper-method-for-creating-parameters/65863/3 "2025-04-23T10:37:46Z")

</div>

I just created a tutorial for this on my [lemonjuce](https://arcathrax.github.io/lemonjuce/) repository. You can view it under Advanced\>Implementing an AudioProcessorValueTreeState. If you want to, you can give me feedback on the style of the documentation since I am going to do a lot more inside of this repository.

---

<div class="post-metadata">

**Author:** ![AdamVenn](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/adamvenn/32/17023_2.png) [@AdamVenn](https://forum.juce.com/u/AdamVenn)\
**Post date:** [April 23, 2025, 11:44am UTC](https://forum.juce.com/t/whats-the-proper-method-for-creating-parameters/65863/4 "2025-04-23T11:44:46Z")

</div>

I always use ParameterAttachment rather than the APVTS attachments. I think there are probably pitfalls with both…

---

<div class="post-metadata">

**Author:** ![noddy-oer](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/noddy-oer/32/20900_2.png) [@noddy-oer](https://forum.juce.com/u/noddy-oer)\
**Post date:** [April 30, 2025, 3:09am UTC](https://forum.juce.com/t/whats-the-proper-method-for-creating-parameters/65863/5 "2025-04-30T03:09:52Z")

</div>

This is brilliant. Style is readable and easy to follow. Thanks for sharing.

---

<div class="post-metadata">

**Author:** ![arcathrax](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@arcathrax](https://forum.juce.com/u/arcathrax)\
**Post date:** [April 30, 2025, 6:34am UTC](https://forum.juce.com/t/whats-the-proper-method-for-creating-parameters/65863/6 "2025-04-30T06:34:36Z")

</div>

no problem
