Creating deltaclip~ in gen~ (and then improving it)

    Jun 28 2022 | 9:13 pm
    Has anyone already recreated deltaclip~ in gen~ and is willing to share?
    I want a version that handles and can output negative values and should be able to figure out how to modify an existing implementation. I think I get the general idea, but haven't been able to remove small delta values and accumulate to recreate the input ramp without slowly shooting off to infinity. I have the feeling I'm missing something simple.
    Here's a start with comments.
    Thanks in advance :)

    • Jun 29 2022 | 6:44 am
      Here's a better way. Not quite what I need yet, but it's closer
    • Jun 29 2022 | 12:52 pm
      there is a gen~ deltaclip in gen~ examples
    • Jun 29 2022 | 9:06 pm
      Aha, that's great. Thanks!