"Tame" a jumpy curve in CHOP

   1492   3   1
User Avatar
Member
5 posts
Joined: April 2020
Offline
Hi,

Is there a way in CHOP to pull all the peak points to one level, and all the valley points to another level? (attached is a sketch) I tried a few nodes like lag, math, etc, but not very ideal. It doesn't have to perfect, but close enough so I can clamp it.

I wonder if there's a way to do it in code mathematically.

Thank you!

Attachments:
curve.jpg (3.9 MB)

User Avatar
Member
648 posts
Joined: July 2005
Offline
see attached,
not sure about chops, but you can round-trip through sops to do whatever you want with it.

Attachments:
fitwave.hiplc (161.7 KB)

User Avatar
Member
2038 posts
Joined: Sept. 2015
Offline
Maybe…yes and no. In Chops there is a limit node that can set max peak and min valley. But you get a ‘hold’ on those ‘clamped’ values rather than an ease in/out.

And you could ‘add’ those peaks and valleys, but I don't recommend it…as it is alot of work, a bit frustrating to get the hang of, and the longer the frame sequence…the more dogged tired your gonna get…shouldn't even have mentioned this part.

But in your diagram the resulting wave form doesn't look like it includes peaks/valleys less than the clamped values. So if you simply wanted a continuous wave form just use an initial wave node to get that.
Edited by BabaJ - June 25, 2020 10:57:58
User Avatar
Member
5 posts
Joined: April 2020
Offline
Hi @cpb, your file works! Thank you! Not sure if I can figure all your nodes out but it's been very helpful.

@BabaJ, I understand, but I want to have wave somewhat responding to another wave, not creating from scratch.
  • Quick Links