signal with constant slope that randomly changes direction

    Jul 08 2017 | 9:15 pm
    I'm trying to create a signal that has a constant slope but that randomly changes direction without any jumps in signal value. obv rand~ wont work because the direction AND slope change randomly. tried to do it with a phasor that changes positive and negative frequency randomly but I'm getting "jumps" in signal value when I do this.

    • Jul 09 2017 | 2:45 am
      there's probably a simpler way to do it but this is what I came up with-- it uses the +=~ object to create a straight line which randomly changes direction;
    • Jul 09 2017 | 4:13 am
      thanks man! that works pretty good for my purposes. I would think theres a simpler way as well of achieving this as well