RaneNote RaneNote


Dynamics Processors -- Technology


Chapter 5 -- Expanders, Gates & Duckers

Expanders

Expanders complement compressors by increasing (expanding) the dynamic range of the signal passing through it, i.e., an expander is a compressor running in reverse. For example, a compressed input dynamic range of 70 dB might pass through an expander and exit with a new expanded dynamic range of 110 dB.

As shown in Figure 16a, the topology for an expander looks just like a compressor. The difference is what the gain computer is directed to do with the difference between the threshold and the detected signal level. Unlike a compressor, the expander reduces gain for signals below the threshold. The ratio still defines output change verses input change as shown in Figure 16b. In this example, the ratio is 2:1. For every 10 dB of reduction in input signal, the output is reduced by 20 dB. Operating in this manner, they make the quiet parts quieter. A compressor keeps the loud parts from getting too loud, an expander makes the quiet parts quieter.

Figure 16a. Expander block diagram.

Figure 16b. Expander response graph.

The term downward expander (or downward expansion) evolved to describe this type of application. The most common use is noise reduction. For example, say, an expander's threshold level is set just below the quietest recorded vocal level and the ratio control is set for 2:1. What happens is this: when the vocals stop, the signal level drops below the set point down to the noise floor. This is a step decrease from the smallest signal level down to the noise floor. If that step change is, say, -10 dB, then the expander's output attenuates 20 dB (due to the 2:1 ratio, a 10 dB decrease becomes a 20 dB decrease), thus resulting in a noise reduction improvement of 10 dB. It is now 10 dB quieter than without the expander.

A live sound use for an expander is to reduce stage noise between passages for a quiet vocalist.

Gates

A gate is to an expander, as a limiter is to a compressor. Like an expander, gain is reduced below the threshold. Like a limiter, a gate must respond very quickly to changes in level, dictating the use of a peak detector in the side-chain. Unlike an expander, a gate uses a fixed ratio of infinity:1 and a variable depth as shown in Figure 17a. A gate is typically used to remove background noise between louder sounds. The common topology is illustrated in Figure 17a. Almost all gates provide side-chain equalization and external Key Input. A good gate is able to "look-ahead" by delaying the main signal a small amount. The best gate combines look-ahead with pre-ramping.

Figure 17a. Gate block diagram.

Figure 17b. Gate response graph.

Additional Side-Chain Controls

Hold

Provided by professional gates, with a typical range of 0 to 3 seconds. The hold time determines how long the gate remains open after the control signal drops below the threshold setting.

Depth

Provided on all gates, this control has a typical range of 0 to -80 dB. The depth control determines how many dB the signal is attenuated when the control signal is at or below the threshold setting.

Uses & Problems

Gates find use in live sound to reduce crosstalk (bleed) from adjacent microphones, to keep toms from ringing (a feedback loop is created when toms are amplified that is notorious and adds to the already "ringing" nature of toms) and to tighten up the sound. Gates are also used to punch up and tighten percussive instruments & drums. And gates control unwanted noise, such as preventing open microphones and hot instrument pick-ups from introducing extraneous sounds.

When the incoming audio signal drops below the threshold point, the gate prevents further output by reducing the gain to "zero." Typically, this means attenuating all signals by about 80 dB. Therefore, once audio drops below the threshold, the output level becomes the residual noise of the gate. Common terminology refers to the gate "opening" and "closing." A gate is the extreme case of downward expansion.

Just as poorly designed limiters cause pumping, poorly designed gates cause breathing and clicking. The term breathing describes an audible problem caused by hearing the noise floor rise and fall, sounding a lot like the unit was "breathing." It takes careful design to get all the dynamic timing exactly right so breathing does not occur.

Clicking is caused by opening the gate too fast. It is a common myth that if you make a gate open faster it will sound better; however, such is not the case. The faster a gate opens, the higher in frequency the click is. A frequency analysis of a step-function, i.e., an instantaneous change from one level to another level as occurs with a sudden gate opening, reveals that it is rich in high frequencies that extend well into the megahertz range, and can even cause significant electromagnetic interference if not properly contained.

The next section discusses how Rane uses look-ahead and pre-ramping techniques to prevent these problems.

Peak Detection, Look-Ahead, & Pre-Ramping

Similar to peak limiters, accurately capturing and reproducing transient signals requires peak detection in quality gate designs. (True rms detection is necessary for compressor and expander modes.)

Superior gating requires look-ahead and pre-ramping techniques, only possible with digital technologies.

A look-ahead detector works by delaying the main audio signal a short amount (a few millionths of a second) while not delaying the side-chain signal. This allows examining the signal in advance to determine the appropriate response before an event (compare Figure 18 and Figure 19). This action allows the gate (or a ducker) to turn on before the transient signal you want.

Figure 18. Conventional Gate Performance.

Figure 19. Same Waveform Processed with Look-Ahead and Pre-Ramping.

Pre-ramping allows gating on the main signal as soon as the signal reaches the threshold. Pre-ramping is sometimes referred to as an exponential envelope since it preserves the overall shape of the original signal.

Combining look-ahead and pre-ramping serves two purposes:

  1. Preserves leading edge frequencies above 1 kHz. (The leading edge is almost perfectly preserved for any signal with a period less than or equal to four times the look-ahead time.)
  2. Tightens up the sound of frequencies below 1 kHz without the annoying click resulting from deep gate depth, high threshold and fast attack settings.

With digital signal processing, it is possible to delay the main signal path as long as desired. The limiting factor is the amount of delay that the application will tolerate. For live sound applications, this threshold is somewhere around two milliseconds, which is equivalent to 96 samples at a 48 kHz sample rate. To accurately reproduce the leading edge of a signal, the function must look-ahead one quarter of a cycle. This means that with a 96 sample look-ahead, a gate can accurately reproduce the leading edge of tones as low as 125 Hz. Look-ahead delays as low as 16 samples (333 microseconds) allow accurate reproduction of signals at or above 750 Hz, and significant improvement in the sound quality of signals as low as 100 Hz. The following bass drum example shows why this is important. Note the difference in amplitude between the first and second cycles of the bass drum. The first complete cycle, and most importantly the leading edge of this cycle, defines the sound.

Even when turned on in time, a gate, by definition, "steps" the gain (see Figures 18 & 19). Unfortunately, gain-steps sound like clicks. Using exponential pre-ramping and look-ahead allows the gate to turn on more gradually, closely simulating the original signal. The click normally associated with gating is gone and the natural sound of the signal is preserved. In postproduction applications, multiple tracks can be time aligned, allowing much longer delays that allow seeing further into the future, thus providing improved low frequency gating.

Bass Drum Attack Example

These figures show the affect of look-ahead and pre-ramping on the leading edge of a bass drum. The red trace shows the gate input signal. The blue trace shows the gate output signal. The time difference between the two signals represents the total propagation delay through the gate. The gate threshold is set to about 80% of the peak value. The gate depth is 20 dB.

The first complete cycle of the bass drum defines its sound, as subsequent cycles are considerably lower in amplitude. If the gate cannot accurately capture the first cycle it significantly changes the bass drum's sound.

Figure 20. Bass Drum: "Instant" Attack.
Red: original unaltered signal. Blue: gated signal.

Figure 21. Bass Drum: with Look-Ahead and Pre-Ramping.
Red: original unaltered signal. Blue: gated signal.

Figure 20 shows look-ahead without ramping which often causes an audible click at fast attack and moderate to extreme depth settings. Only look-ahead with pre-ramping accurately reproduces the first cycle of a bass drum without adding excessive delay or altering the leading edge as shown in Figure 21.

Figures 22 and 23 give the associated frequency response of Figures 20 and 21 respectively. Note in Figure 22 the additional energy above 10 kHz due to the "instant on" nature of a gate without pre-ramping. There is 16 dB of unwanted energy in this region due to the step-like gate opening. Surprising is the 5 dB to 15 dB increase in the 300 Hz to 800 Hz range. Both effects significantly alter the sound of the bass drum.

Compare this with the near-perfect response shown in Figure 23 for a gate with both look-ahead and pre-ramping.

Figure 22. Bass Drum: Frequency response of Figure 20.
Red: original unaltered signal. Blue: gated signal.

Figure 23. Bass Drum: Frequency response of Figure 21.
Red: original unaltered signal. Blue: gated signal.

Duckers

A ducker is a dynamics processor that lowers (ducks) the level of one audio signal based upon the level of a second audio signal or a control trigger. It reduces the level of the main signal by a certain amount (usually labeled Depth) when the side-chain signal exceeds a set threshold.

A typical application is paging. A ducker senses the presence of audio from a paging microphone and triggers a reduction in the output level of the main audio signal for the duration of the page signal. It restores the original level once the page message is over.

Another use is for talkover -- a popular function on DJ mixers that allows the DJ to speak over the program material by triggering a ducker. Also found on recording consoles to allow the producer or engineer to talk to the musicians.

Musical instrument solos use duckers to automatically reduce the bass line a few dB every time the bass drum hits.

Figure 24a shows a typical topology for the ducker. Figure 24b shows the operation of the ducker. A ducker works the opposite of a gate. The signal is attenuated when the side-chain input goes above the threshold. In the example below, the green trace shows the side-chain input. The red trace shows the resulting gain response of the main signal. The threshold is set at -10 dBu. When the side-chain input goes above -10 dBu, the main signal is ducked by an amount set by the depth control, in this case, 40 dB.

Figure 24a. Ducker block diagram.

Figure 24b. Ducker response graph.

Additional Ducker Side-Chain Controls

Hold

The Hold parameter has a typical range of 0 to 3 seconds. The hold time determines how long the signal remains ducked when the control signal drops below the threshold setting.

Depth

A typical Depth control has a range of 0 to -80 dB. The depth control determines how many dB the signal is attenuated when the control signal is at or above the threshold setting.

Next: Chapter 6 -- All Together Now ... The Big Picture

Return: to Contents

Return to top