In the context of a digital waveguide string model, dispersion associated with stiff strings can be supplied by an allpass filter in the basic feedback loop. Methods for designing dispersion allpass filters were summarized in §6.11.3. In this section, we are mainly concerned with how to specify the desired dispersion allpass filter for piano strings.
Perceptual studies regarding the audibility of inharmonicity in stringed instrument sounds  indicate that the just noticeable coefficient of inharmonicity is given approximately by
In general, when designing dispersion filters for vibrating string models, it is highly cost-effective to obtain an allpass filter which correctly tunes only the lowest-frequency partial overtones, where the number of partials correctly tuned is significantly less than the total number of partials present, as in .
Application of the method of  to piano-string dispersion-filter design is reported in .
A Faust implementation of a closed-form expression  for dispersion allpass coefficients as a function of inharmonicity coefficient may be found in the function piano_dispersion_filter within effect.lib.