3.3 Demodulators

Each modulation has a suitable demodulation scheme and we will focus on the ring and amplitude modulations in this section. The demodulator for the ring modulator uses exactly the same scheme as the modulator, so no new effect is to be expected there. The demodulator for the amplitude modulator is called an amplitude follower in the realm of digital audio effects. Several implementation schemes are available, some are inspired from analog designs, some are much easier to realize using digital techniques. These demodulators comprise three parts: a detector, an averager and a scaler.

3.3.1 Detectors

The detector can be a half-wave rectifier dh(t), a full-wave rectifier df(t), a squarer dr(t) or an instantaneous envelope detector images/c03_I0020.gif. The first two detectors are directly inspired by analog designs. They are still useful to achieve effects having typical analog behavior. The third and fourth types are much easier to realize in the digital domain (Figure 3.9). The four detectors are computed by

3.17 3.17

respectively, where x(n) denotes the input signal and images/c03_I0022.gif its Hilbert transform.

Figure 3.9 Detectors: (a) half-wave, (b) full-wave, (c) squarer, (d) instantaneous envelope.

3.3.2 ...

Get DAFX: Digital Audio Effects, Second Edition 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.