# Value state tree...having trouble showing values in Ableton automation other than 0.0-1.0

**URL:** <https://forum.juce.com/t/value-state-tree-having-trouble-showing-values-in-ableton-automation-other-than-0-0-1-0/31250>\
**Category:** Audio Plugins\
**Created:** [January 13, 2019, 1:40am UTC](https://forum.juce.com/t/value-state-tree-having-trouble-showing-values-in-ableton-automation-other-than-0-0-1-0/31250 "2019-01-13T01:40:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ComposerShield](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/composershield/32/6655_2.png) [@ComposerShield](https://forum.juce.com/u/ComposerShield)\
**Post date:** [January 13, 2019, 1:40am UTC](https://forum.juce.com/t/value-state-tree-having-trouble-showing-values-in-ableton-automation-other-than-0-0-1-0/31250/1 "2019-01-13T01:40:30Z")

</div>

I have my automation working with the value state tree and my sliders but no matter what I do, Ableton insists on displaying the values 0.0-1.0 on the actual track (see below). On the little sliders at the bottom, the values are correct but refuse to display as ints, only as floats. What I want is 1-8 as ints.

 ![38%20PM](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/5/57296afc499880fd5d057d543f0b2a8ec2ebb6b8.png)

Here’s where I define the value state tree stuff:

 ![54%20PM](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/3/34198887e419b1eeddaa4910cd5d1e4878d801a9.png)

---

<div class="post-metadata">

**Author:** ![mcmartin](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/mcmartin/32/7432_2.png) [@mcmartin](https://forum.juce.com/u/mcmartin)\
**Post date:** [January 13, 2019, 9:55am UTC](https://forum.juce.com/t/value-state-tree-having-trouble-showing-values-in-ableton-automation-other-than-0-0-1-0/31250/2 "2019-01-13T09:55:41Z")

</div>

That signature of `createAndAddParameter` is deprecated. You should consider using the new signature. See [AudioProcessorValueTreeState Improvements](https://forum.juce.com/t/audioprocessorvaluetreestate-improvements/29872) for more information.

If you want to keep using that signature, you might have to specify some of the default parameters, especially `bool isDiscrete=false`.

---

<div class="post-metadata">

**Author:** ![ComposerShield](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/composershield/32/6655_2.png) [@ComposerShield](https://forum.juce.com/u/ComposerShield)\
**Post date:** [January 13, 2019, 2:28pm UTC](https://forum.juce.com/t/value-state-tree-having-trouble-showing-values-in-ableton-automation-other-than-0-0-1-0/31250/3 "2019-01-13T14:28:33Z")

</div>

Aha I see that now, and I found the tutorial that explains it. The problem is, my current library is older and doesn’t include the new AudioProcessorValueTreeState constructor. I’m sure this is a stupid question but I just wasted an hour trying to figure it out…how do I update…Juce? lol

---

<div class="post-metadata">

**Author:** ![mcmartin](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/mcmartin/32/7432_2.png) [@mcmartin](https://forum.juce.com/u/mcmartin)\
**Post date:** [January 13, 2019, 3:18pm UTC](https://forum.juce.com/t/value-state-tree-having-trouble-showing-values-in-ableton-automation-other-than-0-0-1-0/31250/4 "2019-01-13T15:18:45Z")

</div>

How did you get it in the first place?  
You can get JUCE 5.4.1 from the JUCE website ([https://shop.juce.com/get-juce/download](https://shop.juce.com/get-juce/download)) or from GitHub ([https://github.com/WeAreROLI/JUCE](https://github.com/WeAreROLI/JUCE)).
