CHAPTER 7
Delay Effects and Circular Buffers
Before we can start looking at some finite impulse response (FIR) algorithms, we need to deal with the concept of long delay lines or circular buffers. Not only are they used for the delay effects, but also they are needed to make long FIR filters. In this chapter we'll take a break from the DSP filter algorithms and develop some digital delays. If you think back to the infinite impulse response (IIR) filters you've worked on so far you will remember that after implementing the difference equation, you need to shuffle the z−1 delay element values. You do this by overwriting the delays backwards, like this:
Suppose you had a filter that was higher than a second-order one and you had to implement
Get Designing Audio Effect Plug-Ins in C++ now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.