On Sun, 12 Nov 2017, Evan Laforge wrote: > Oh ok, I'll take a closer look at the source. I thought the > underlying representation was a list, but it's hard to tell how > anything works with no documentation. Please look at the two examples. > It seems like arbitrary math operations might be tricky though. All > you need to resample the signals to have the same breakpoints is a > split for the curve, but what about multiplication, or max, or some > more ad-hoc function? Multiplication cannot be done exactly. You could try an approximation. For max(f,g) you need to solve the cubic equation f(x)-g(x)=0 and split at the zeros of f-g. For ad-hoc functions you need an approximation, again. But ... audio rate sampling is approximation, too, isn't it?