# Accessing specific ToneAnalyzer values

**URL:** <https://discourse.nodered.org/t/accessing-specific-toneanalyzer-values/10081>\
**Category:** General\
**Created:** [12 April 2019 21:24 UTC](https://discourse.nodered.org/t/accessing-specific-toneanalyzer-values/10081 "2019-04-12T21:24:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nhar](https://avatars.discourse-cdn.com/v4/letter/n/f04885/32.png) [@nhar](https://discourse.nodered.org/u/nhar)\
**Post date:** [12 April 2019 21:24 UTC](https://discourse.nodered.org/t/accessing-specific-toneanalyzer-values/10081/1 "2019-04-12T21:24:07Z")

</div>

Is there a way to access specific values from the ToneAnalyzer? For example, if I give it a text and it outputs a sadness tone value of 0.0332, is there a way to directly access the value through a variable? I checked the documentation but I couldn't find anything.

---

<div class="post-metadata">

**Author:** ![burtonboucher](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/burtonboucher/32/7806_2.png) [@burtonboucher](https://discourse.nodered.org/u/burtonboucher)\
**Post date:** [12 April 2019 21:40 UTC](https://discourse.nodered.org/t/accessing-specific-toneanalyzer-values/10081/2 "2019-04-12T21:40:04Z")

</div>

You may read about flow or global context.

Or here is article on variables  
[http://www.steves-internet-guide.com/node-red-variables/](http://www.steves-internet-guide.com/node-red-variables/)

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [12 April 2019 21:43 UTC](https://discourse.nodered.org/t/accessing-specific-toneanalyzer-values/10081/3 "2019-04-12T21:43:51Z")

</div>

If you pass the output of the node to a Debug node you can examine it's structure and all the values it contains.

This page in the docs explains how you can use the Debug sidebar to identify the path to any message element: [https://nodered.org/docs/user-guide/messages](https://nodered.org/docs/user-guide/messages)

---

<div class="post-metadata">

**Author:** ![nhar](https://avatars.discourse-cdn.com/v4/letter/n/f04885/32.png) [@nhar](https://discourse.nodered.org/u/nhar)\
**Post date:** [13 April 2019 10:03 UTC](https://discourse.nodered.org/t/accessing-specific-toneanalyzer-values/10081/4 "2019-04-13T10:03:57Z")

</div>

Those links are godsends, thank you both so much!
