10. Adding Band-Limited Step Differences

Home | Next

By working with a buffer of differences, band-limited steps can be added easily. As the step is sampled, the difference from the previous sample is added to the buffer of differences. When the final samples are needed, a running sum is applied to the buffer to yield absolute samples:


Steps sampled (blue), converted to first difference and added (orange),
then processed with a running sum (lower orange)