# New Node: hysteresis

**URL:** <https://forum.xod.io/t/new-node-hysteresis/598>\
**Category:** Look What I’ve Done\
**Created:** [March 27, 2018, 8:49am UTC](https://forum.xod.io/t/new-node-hysteresis/598 "2018-03-27T08:49:10Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![faberge](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/faberge/32/264_2.png) [@faberge](https://forum.xod.io/u/faberge)\
**Post date:** [March 27, 2018, 8:49am UTC](https://forum.xod.io/t/new-node-hysteresis/598/1 "2018-03-27T08:49:10Z")

</div>

Hi all! I am new to XOD and I just wanted to share a node that (I hope) will be useful to others. This is a hysteresis node, it filters the input signal, so that the output is more stable for small changes near the threshold values. Sometimes it is called a “Noise gate” and you can find more info here: [Wiki](https://en.wikipedia.org/wiki/Noise_gate)

 ![svg](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/36ba574f4aef7ceb74bb46d3831fb415c3c5fac0.png)

I was quite surprised how natural and easy to understand was XOD implementation of this node. I even added a small example to the library to illustrate a possible application. Feel free to try it out!

 ![hysteresis](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/7bb21ca5a6a2165f303a0db3eb5bc756fef8929b.jpeg)

[Link to the lib](https://xod.io/libs/faberge/hysteresis/)

---

<div class="post-metadata">

**Author:** ![fernand13](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/fernand13/32/189_2.png) [@fernand13](https://forum.xod.io/u/fernand13)\
**Post date:** [March 29, 2018, 8:18pm UTC](https://forum.xod.io/t/new-node-hysteresis/598/2 "2018-03-29T20:18:16Z")

</div>

Probleme  
Patch faberge/hysteresis/hysteresis-example contains dead references:  
Patch with type “xod/core/greater” is not found in the project  
Fix or delete them to continue.  
Merci

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [March 29, 2018, 9:03pm UTC](https://forum.xod.io/t/new-node-hysteresis/598/3 "2018-03-29T21:03:12Z")

</div>

That sounds like a problem with your install; that is a valid node that is distributed with XOD. You might want to try re-installing XOD on your box.

---

<div class="post-metadata">

**Author:** ![faberge](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/faberge/32/264_2.png) [@faberge](https://forum.xod.io/u/faberge)\
**Post date:** [March 30, 2018, 8:16am UTC](https://forum.xod.io/t/new-node-hysteresis/598/4 "2018-03-30T08:16:41Z")

</div>

I am confused then =\_= This example works well on my computer. And yes, this is a standard node, so it is very strange that the IDE can’t find it. @gweimer, have you also tried this node?

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [March 30, 2018, 3:46pm UTC](https://forum.xod.io/t/new-node-hysteresis/598/5 "2018-03-30T15:46:05Z")

</div>

Fascinating…I get the same error. If I delete greater & replace it with “the exact same thing”, it then complains about the flip-flop, then the less. After replacing all 3, it complains about the greater node again…

If I start from scratch and generate the same node, it works just fine.

I’m running XOD 0.19.2

---

<div class="post-metadata">

**Author:** ![fernand13](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/fernand13/32/189_2.png) [@fernand13](https://forum.xod.io/u/fernand13)\
**Post date:** [March 30, 2018, 5:29pm UTC](https://forum.xod.io/t/new-node-hysteresis/598/6 "2018-03-30T17:29:01Z")

</div>

Exactly same result back to the departure box thank you for confirming thank you faberge and courage …

---

<div class="post-metadata">

**Author:** ![fernand13](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/fernand13/32/189_2.png) [@fernand13](https://forum.xod.io/u/fernand13)\
**Post date:** [March 30, 2018, 5:32pm UTC](https://forum.xod.io/t/new-node-hysteresis/598/7 "2018-03-30T17:32:14Z")

</div>

0.19.2 also Imac Apple
