1/19/2008
Copyright 2005 – Tim Hoerning
44
Computer Implementation of Delay
•Delays in a computer (or Digital Signal Processor) are implemented using a circular buffer
•An input pointer writes the sampled values into memory
•An output pointer reads the sample values out of memory a fixed number of samples later.   The offset in samples times 1/fs is the delay time
•DSPs have special registers that automatically wrap around the end of a circular buffer.
0
1
2
n-2
n-1
Input Sample
Delayed sample