In a digital waveguide model, the effects of dispersion can be accounted for by considering the relationship between temporal and spatial sampling intervals:
where is the unit delay time without dispersion.
As a result, unit delays () must be replaced by
We can interpret this new delay unit as an allpass filter that approximates the corresponding frequency-dependent delay.
In a digital waveguide model, dispersive wave propagation can thus be simulated by replacing unit delays with allpass filters, as illustrated in Fig. 3.
Figure 3:
Discrete-time simulation of dispersive wave propagation, where digital allpass filters replace unit delay elements.
Because allpass filters are linear and time invariant, they can be commuted and implemented at discrete spatial locations in the model, in exactly the same way as previously discussed for other linear, time invariant gain factors or filters.
In general, good approximations to dispersion require fairly high-order allpass filters. Contrary to the case with commuted frequency-dependent loss filters, the consolidation of allpass units does not necessarily lead to computational savings by way of lower-order filters.