How a Vocoder Works · Volume 6
How a Vocoder Works — Vol 06: Carriers and Modulators
A vocoder is a subtractive machine: the synthesis half can only turn bands of the carrier down (or let them through); it can never add energy that is not already there. That single fact governs everything about choosing a carrier. A carrier with energy in every band, all the time, lets the modulator’s articulation through intact; a carrier with gaps in its spectrum leaves holes in the speech that no adjustment can fill. This volume works out what “energy in every band” means numerically — for waveforms, for pitches, for chords and for noise — and then turns to the other input: what can usefully be a modulator besides a voice, and how to get either signal into the machine at the right level.
6.1 Spectral richness: the waveforms
The standard synthesizer waveforms have well-known Fourier series. Normalised to the fundamental, the amplitude of harmonic n is:
Table 1 — The standard synthesizer waveforms have well-known Fourier series. Normalised to the fundamental, the amplitude of harmonic n is
| Waveform | Harmonics present | Amplitude of harmonic n | 10th harmonic | Comment |
|---|---|---|---|---|
| Sawtooth | all | 1/n | −20 dB | richest common waveform |
| Square (50 %) | odd only | 1/n | (9th: −19 dB) | every other harmonic missing |
| Triangle | odd only | 1/n² | (9th: −38 dB) | almost a sine above the 5th harmonic |
| Pulse, duty d | all except multiples of 1/d | |sin(πnd)| / (n sin πd) | depends on d | narrow pulses approach a flat spectrum |
| Sine | 1st only | — | — | useless as a carrier |
6.1.1 Reading the table as a vocoder designer
- Sawtooth is the default because it has every harmonic and they fall only 6 dB per octave. In a constant-Q filter bank, each band an octave higher contains twice as many harmonics, so the total power per band falls only about 3 dB per octave. That is close to the spectral tilt of speech itself.
- Square has half the harmonics. A band narrow enough to hold only one or two harmonics can land on a missing even harmonic and receive nothing.
- Triangle is a poor carrier: its 9th harmonic is already 38 dB down. Elektor’s 1980 user article ran exactly this experiment — switching the carrier “from triangle to squarewave to sawtooth to pulse waveshapes” while making hissing and plosive sounds — and found the triangle “very poor, whereas the pulse which contains all the harmonics will produce something remotely like an S or an F.” (The article says the triangle “only has even harmonics”; a symmetric triangle in fact has only odd harmonics, falling as 1/n². The conclusion stands; the reason is the 1/n² fall.)
- Narrow pulse has the flattest spectrum of all: for a pulse of duty d, harmonics up to about n = 1/(2d) are within a few decibels of the fundamental. A 10 % pulse has its first spectral null at the 10th harmonic and is roughly flat to the 5th. Elektor’s first recommended experiment uses a pulse at 50–60 Hz: “The result will be a resonant, clear, synthesized voice. If the frequency remains unchanged, the result sounds like the ‘Cylon effect’” — the robot voices of Battlestar Galactica, which the article says were made with a vocoder (Elektor, September 1980).
The MFOS vocoder’s internal oscillator is a square/pulse generator from about 20 to 240 Hz with adjustable width, built from a CD40106 Schmitt-trigger hex inverter: a differentiator (C19 = 15 nF and the 1 MΩ Pulse Width control) narrows the square into pulses, and the adjustment “is designed to affect the width of the pulse most when the frequency is relatively low.” Wilson: “applying the internal oscillator makes you sound like a robot” (MFOS documentation). The VoIS has two sawtooth/square oscillators with coarse and fine tuning and 1 V/octave control inputs.
6.1.2 Brightness versus harshness
A pulse is more intelligible than a sawtooth and also harsher. Elektor described the pulse as giving “a slightly grating, ‘mechanical’ sound,” with “If a sawtooth is used instead of a pulse shaped signal as a carrier, the result will be softer. This illustrates that the carrier’s complexity affects the timbre.” The musician’s guides agree that sawtooth and noise work best and that square waves can reduce intelligibility (MusicRadar).
6.2 Pitch against the band table
Spectral richness is necessary but not sufficient. The carrier’s harmonics must also fall inside the bands — and for low bands, which are narrow in hertz, that depends on the carrier’s pitch.
6.2.1 Worked example: MFOS with a 110 Hz and a 440 Hz sawtooth
The MFOS band-pass channels and their −3 dB edges, from Vol 2 §5.1:
Table 2 — The MFOS band-pass channels and their −3 dB edges, from Vol 2 §5.1
| Band | 154 | 208 | 285 | 395 | 542 | 720 | 1,013 | 1,495 | 2,001 | 2,546 |
|---|---|---|---|---|---|---|---|---|---|---|
| Edges (Hz) | 130–182 | 184–236 | 248–328 | 345–452 | 475–619 | 629–824 | 891–1,151 | 1,280–1,747 | 1,816–2,204 | 2,278–2,846 |
A 110 Hz sawtooth (A2) has harmonics at 110, 220, 330, 440, 550 Hz and so on. Checking each band:
- 101 Hz low-pass: 110 Hz, at the corner — passes.
- 154 Hz (130–182): no harmonic inside the −3 dB band. 110 and 220 Hz are outside, attenuated by several decibels each.
- 208 Hz (184–236): 220 Hz — one harmonic.
- 285 Hz (248–328): no harmonic inside; 330 Hz sits just above the upper edge.
- 395 Hz (345–452): 440 Hz.
- 542 Hz (475–619): 550 Hz.
- 720 Hz (629–824): 660 and 770 Hz — two.
- 1,013 Hz (891–1,151): 990 and 1,100 Hz — two.
- above that: four or more harmonics per band.
A 440 Hz sawtooth (A4) has harmonics at 440, 880, 1,320 Hz …:
- 101 Hz low-pass, 154, 208 and 285 Hz bands: nothing at all.
- 395 Hz (345–452): 440 Hz.
- 542 Hz (475–619): nothing.
- 720 Hz (629–824): nothing.
- 1,013 Hz (891–1,151): 880 Hz sits just below the lower edge — one harmonic, a little more than 3 dB down.
- 1,495 Hz (1,280–1,747): 1,320 Hz.
At 440 Hz, six of the twelve MFOS channels have little or no carrier energy. The modulator’s F1 region (270–730 Hz) is almost entirely in bands the carrier cannot feed, so vowels lose their first formant and intelligibility collapses. Elektor observed exactly this in a hit record of the day: the vocoded introduction of Lipps Inc’s “Funky Town” was hard to understand because “the key chosen for the melody is rather high … if the carrier consists almost exclusively of high frequency components and the modulation signal … is in a lower frequency range, only the higher harmonics of the voice will be superimposed on the carrier signal,” and “Later on in ‘Funky Town’ the melody is played in lower key and a male voice sings the lyrics. The improved intelligibility is very noticeable!” Its general rule: intelligibility falls once the carrier is “above 500–600 Hz” (Elektor, September 1980).
6.2.2 The general rule
A band of bandwidth B contains, on average, B/F0 harmonics of a carrier at F0. For the band to be reliably fed, B/F0 should be at least about 1, i.e. F0 ≤ B. For a constant-Q bank, B = f₀/Q, so the condition is
F0 ≤ f₀(lowest band) / Q.
For MFOS’s lowest band-pass (154 Hz, Q 2.96) that gives F0 ≤ 52 Hz — lower than most carriers anyone plays. For the Vol 8 design (160 Hz, a fourth-order channel with an effective −3 dB width ratio of 1.38, so B ≈ 0.32 × 160 = 51 Hz) the result is similar. In practice no vocoder feeds its bottom bands with a single high note; the bottom bands are fed by low notes, by chords, by noise, or not at all.
6.2.3 Counting harmonics per band
The same check can be run for any carrier by counting how many harmonics fall inside each band’s −3 dB edges. For the ten MFOS band-pass channels (calculated from the edges above; harmonics on an edge counted only if inside it):
Table 3 — The same check can be run for any carrier by counting how many harmonics fall inside each band's −3 dB edges. For the ten MFOS band-pass channels (calculated from the edges above; harmonics on an edge counted only if inside it)
| Carrier | 154 | 208 | 285 | 395 | 542 | 720 | 1,013 | 1,495 | 2,001 | 2,546 |
|---|---|---|---|---|---|---|---|---|---|---|
| A1 sawtooth, 55 Hz | 1 | 1 | 1 | 2 | 3 | 3 | 4 | 8 | 7 | 10 |
| A2 sawtooth, 110 Hz | 0 | 1 | 0 | 1 | 1 | 2 | 2 | 4 | 4 | 5 |
| C3 major triad (130.8, 164.8, 196.0 Hz) | 2 | 1 | 1 | 2 | 3 | 4 | 4 | 9 | 7 | 11 |
| A4 sawtooth, 440 Hz | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 |
| A4 major triad (440, 554.4, 659.3 Hz) | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 3 | 2 | 3 |
Three observations follow. A single low note (55 Hz) feeds every band. A triad in the bass-baritone register (C3) feeds every band more evenly than a single note an octave lower, because its three harmonic series interleave. And a triad two octaves up (A4) still starves the bottom three bands entirely: chords help the middle of the bank, but nothing but low pitch (or noise) feeds the bottom. That is why keyboard vocoder parts are usually voiced low and close, and why the classic vocoder chord is a low, dense pad rather than a bright high chord.
6.2.4 Remedies
- Play lower. An octave down doubles the harmonic density everywhere.
- Play chords. Each additional note adds its own harmonic series. A three-note triad has about three times the harmonic density of a single note; the gaps of one series are partly filled by the others.
- Detune and chorus. Two oscillators a few cents apart produce harmonics that beat and fill the space around each harmonic; ensemble and chorus effects (the EM-26’s two chorus types, the VP-330’s BBD ensemble) do the same thing by modulated delay. MusicRadar’s guide suggests layering two saws an octave apart and adding glide to a mono saw (MusicRadar).
- Add noise. Noise has energy at every frequency (Vol 5 §2).
- Shift the formants up. Elektor’s cross-patching moves the modulator’s band envelopes onto higher synthesis bands, so a high carrier receives the voice’s low-band information where it has energy to carry it: “By coupling the output voltages of the analyser to the control inputs of synthesizer filters which do not have the same Fo, the measured formants are transposed to another place in the spectrum” (Elektor, September 1980). The voice changes character — “The higher the analyser spectrum is moved up, the more the voice will sound like Donald Duck” — but intelligibility returns.
6.3 Polyphonic and keyboard carriers
The keyboard vocoders put a polyphonic carrier and the vocoder in one case so that the performer plays chords while speaking. The EM-26 is the program’s example. Its tone generator board (ЩХМ3.541.100) has twelve note cells (G1–G12) and 36 octave-divider cells (B1–B36) — a top-octave divide-down generator, so every key has its own pitch at all times and any number of keys can sound (paraphonic). The manual’s specifications: a 32-key keyboard (2 8/12 octaves), a sounding range of at least 4 8/12 octaves, master-oscillator drift no more than 0.3 % over four hours, interval error against equal temperament no more than 0.05 %, a transposer of at least ±1 octave and tuning of at least ±¼ tone (EM-26 manual, §3). The same tone generator drives the STRINGS register, with a cello–violin balance and release control.
A divide-down generator gives the vocoder an ideal carrier in one respect — a full chord of pulse-rich waves is spectrally dense — and a limitation in another: every note of the chord starts in phase with every other octave of the same note, so octave doublings reinforce rather than fill.
6.4 Other carriers
6.4.1 Noise
Noise as the whole carrier produces whispering: the articulation is all there, the pitch is gone. Wilson: “The vocoder sounds very interesting and unusual when vocal harmonics are impressed on white or pink noise,” and “Using noise as the audio signal creates odd whisper effects” (MFOS documentation). Because noise has no harmonic gaps, a noise carrier is also the best test signal for a vocoder’s analysis half: any vowel that is unintelligible through a noise carrier is being lost in the analysis, not in the carrier.
6.4.2 Recorded and acoustic sounds
Dudley’s 1939 demonstrations used an automobile horn, airplane roar, organ, locomotive puffs and a church bell as carriers (Bell Laboratories Record, December 1939; see The Vocoder in the Telephone Age). Each works to the extent that it is broadband and sustained: an airplane roar is noise; an organ is a dense harmonic chord; a church bell has strong inharmonic partials and a long decay, so the vocoded speech fades as the bell does.
6.4.3 Guitars and pianos
Plucked and struck instruments decay quickly and are spectrally thin after the attack. Elektor recommended an effects unit between the instrument and the carrier input, “with which additional high frequency components may be added to the original sound. Examples of such devices are phasers, flangers, boosters, distorters, fuzzers, frequency doublers, etc.” (Elektor, September 1980). Craig Anderton built a fuzz into the PAiA 6710’s instrument channel for the same reason: “the fuzz can increase the harmonic content of simpler signals (i.e. acoustic guitar) for more dramatic effects” (PAiA 6710 manual). Distortion turns a decaying sine-like string into a sustained, harmonic-rich waveform — exactly what a carrier needs.
6.4.4 Long tails and pads
A carrier that sustains through the modulator’s syllables is better than one that has to be re-triggered. Sound On Sound’s 1994 guide suggests choir pads, sustained synths and even long reverb tails as carriers (SOS, “Power Vocoding”). Wilson’s calibration procedure uses a keyboard “set to a sustaining patch … with a lot of harmonic content like horns or bright strings” with “a couple of keys a fifth or so apart” taped down (MFOS documentation).
6.4.5 Stereo carriers
The VoIS accepts a stereo carrier and assigns each of its eighteen channels to the left or right output by jumper, so a stereo carrier produces a stereo vocoder output with the bands interleaved between sides (VoIS brochure). With a mono carrier, the same interleaving spreads the vocoded voice across the stereo field; with polarity alternation built in (Vol 4 §5.3), the two sides do not cancel when summed to mono.
6.5 Modulators other than the voice
The analysis half does not care what it analyses. Anything with a changing spectrum can be a modulator.
- Drums. Anderton’s favourite application of the 6710 was “cross-vocoding”: an electronic drum unit modulating bass, guitar or synthesizer — “drumcoding” — to “impart rhythmic qualities to these instruments” (PAiA 6710 manual). Drums need fast envelopes; the Moog vocoder’s 6 ms response for percussive sounds addresses this (Vol 3 §5.3), and guides suggest four to eight bands for drums (Futureproof Music School, via The Vocoder in Music brief).
- Synthesizers. An analogue synth as modulator transfers its filter sweeps to the carrier (SOS, “Power Vocoding”): a resonant sweep becomes a moving formant applied to a different sound.
- Guitar. Elektor suggested the guitar as modulator with an organ, string machine or synthesizer as carrier, “preferably monophonic, so no chords” on the guitar, so that the keyboard part takes on “the envelope shape and some of the spectral characteristics of the guitar” (Elektor, September 1980).
- Natural sounds. Wind, rain, surf and crowd noise as modulators impose slowly changing spectral textures (SOS, “Power Vocoding”).
Warning: A music modulator has sustained high-frequency content — cymbals, bright synths — that a V/UV detector will read as unvoiced, flooding the output with noise. Elektor provided switch S1 on its detector to force the “voiced” state for exactly this reason (Vol 5 §5.2). With any V/UV-equipped vocoder, switch detection off or to “carrier only” when the modulator is not speech.
6.6 Getting the signals in: levels
6.6.1 Reference levels
Table 4 — 6.1 Reference levels
| Unit | Reference | 0 dB equals |
|---|---|---|
| dBu | 0.775 V RMS | 0.775 V RMS (1 mW into 600 Ω) |
| dBV | 1 V RMS | 1 V RMS |
| Professional line (+4 dBu) | — | 1.23 V RMS |
| Consumer line (−10 dBV) | — | 0.316 V RMS |
| Dynamic mic, speech | — | typically millivolts |
Elektor’s nominal levels of 770 mV (carrier input sensitivity and line output) are, to within 0.06 dB, 0 dBu.
6.6.2 What the designs expect
Table 5 — 6.2 What the designs expect
| Design | Modulator input | Carrier input | Output |
|---|---|---|---|
| Elektor (1980) | adjustable 10 mV … 7.7 V; 10 kΩ; gain ×1 … ×1,000 | 770 mV; 100 kΩ | 770 mV (≈ 0 dBu) |
| MFOS (2013) | line 1–5 V p-p; mic gain up to ×273; ≈ 100 kΩ | same as modulator | ±1 V to ±5 V |
| ETI (1980) | mic 1 mV, 100 kΩ; line 500 mV, 10 kΩ | low 10 mV, 100 kΩ; high 500 mV, 10 kΩ | 1 V |
| PAiA 6710 | IN 2: lo gain 100 mV–10 V p-p; hi gain 20 mV–2 V p-p | IN 1: 100 mV–10 V p-p | > 10 V p-p max |
| EM-26 | mic −50 ± 3 dB, ≥ 2 kΩ; Line A −20 ± 3 dB | Line C impedance ≥ 22 kΩ | 0 ± 3 dB into 10 kΩ; ≤ 1 kΩ source |
| VoIS | mic gain ×200; 0 dB on the VU = 1 V amplitude | stereo; same VU scale | — |
Sources: Elektor January 1980 specifications; MFOS documentation; ETI September 1980 specification; PAiA 6710 manual; EM-26 manual §3; VoIS brochure. The EM-26 manual does not state its dB reference; 0.775 V is likely but unconfirmed.
6.6.3 Mic gain arithmetic
- MFOS: U1-A gives ×48 (R11 = 47 kΩ over R10 = 1 kΩ, +1), U1-B gives ×5.7; together “a maximum gain of 273” — 48.7 dB.
- VoIS: mic gain of 200 — 46 dB.
- Elektor: ×1 to ×1,000 — 0 to 60 dB — “for any input sensitivity between 10 mV and 7.7 V.”
A dynamic microphone close to a speaking voice typically produces a few millivolts to a few tens of millivolts, so 45–60 dB of gain brings it to the 0.3–3 V region the filters expect. The EM-26’s −50 dB sensitivity, if referred to 0.775 V, is 2.45 mV — consistent with the same class of microphone.
6.6.4 Setting the level
Too little level and the quiet bands never lift their envelopes above the offset floor (Vol 3 §7.2); too much and the input or filter stages clip, producing harmonics that spill into higher bands and open them falsely. Each design gives an indicator: the EM-26’s green and red LEDs (“set the level until the green LED lights and the red flickers”); the VoIS LED VU meters with 0 dB at 1 V; MFOS’s expectation of about ±3 V to ±5 V at the input buffer, checked on a scope.
Wilson adds a point about the microphone itself: “using a quality microphone with a flat frequency response between about 70 to 10,000 Hz. (or better) will result in the best speech intelligibility. Using a low quality mic will be a very disappointing experience” (MFOS documentation). The top bands of a vocoder sit where cheap microphones roll off.
6.6.5 Balancing the two inputs
The two inputs play different roles in the gain structure, and it helps to keep them straight. The modulator level sets the size of the control voltages: too low and the envelopes sit near the follower offsets, too high and the input stage clips. Once it is set, changing the modulator level changes how far each VCA opens, which is the vocoder’s dynamic response. The carrier level, by contrast, sets the audio level through the synthesis filters and the VCA inputs: too low and the output sinks toward the summer’s noise floor; too high and the OTAs leave their linear range (Vol 4 §2.2) or the synthesis filters clip. Changing the carrier level changes the output level and distortion, not the articulation.
A practical order of setting, implicit in the MFOS and Elektor procedures: set the carrier first, with a sustained chord, until the synthesis filter outputs sit at their nominal level (MFOS about 5 V p-p; Elektor’s setting-up uses about 10 V p-p at the synthesis filter output); then set the modulator with speech until the meters or indicators read as the design intends; then set the output level last.
6.7 Conditioning the modulator
6.7.1 Equalisation
Elektor’s advice on microphone pre-emphasis: “One of the most important corrections to be made is to attenuate the low frequency range … The closer the microphone, the more low frequency components will reach the analyser, not to mention the sound of breathing and explosive consonants,” and “As a rule, a standard Baxandall tone control with a turnover frequency around 1 kHz is fine” (Elektor, September 1980). Its input buffer already rolls off below about 30 Hz as a rumble filter (January 1980). The ETI vocoder built ±6 dB treble and bass tone controls into both input amplifiers (ETI, September 1980).
The reason is the proximity effect of directional microphones and the sheer energy of plosive pops: both put large low-frequency signals into the lowest analysis bands, which then open on every p and b regardless of the vowel.
6.7.2 Compression
The envelope of speech spans 30–40 dB between strong vowels and weak consonants (Vol 3 §7.3). Compressing the modulator before the vocoder narrows that range so that quiet syllables still open their bands. Both Sound On Sound and MusicRadar recommend compressing the vocal (SOS; MusicRadar). Bode’s patent builds compression into the encoder input and complementary expansion into the decoder output, for signal-to-noise rather than performance (US 4,158,751). The PAiA 6710’s Threshold control is the complement of a compressor: once the input is compressed, it “prevents the vocoder from reacting to low-level hum, noise, and other garbage coming out of the limiter or compressor.”
6.7.3 Performance
The musician’s guides’ advice on delivery follows from the physics: over-articulate (the consonants are the weak part); keep the modulator continuous, because gaps are silence (Vol 5 §6); and, when singing, sing near the carrier’s pitch so that the voice’s harmonics and the carrier’s fall in the same bands (the vocoder does not need the voice in tune, but the formants of a voice sung far below a high carrier land in bands the carrier cannot feed, §2). Elektor’s monitoring advice was headphones rather than speakers, to avoid feedback.
6.8 Summary
Table 6 — 8. Summary
| Question | Answer | Number to remember |
|---|---|---|
| Best single waveform | sawtooth or narrow pulse | saw: 1/n, all harmonics |
| Worst common waveform | triangle | 9th harmonic at −38 dB |
| Highest usable carrier pitch | about 500–600 Hz (Elektor) | low bands need F0 ≤ f₀/Q |
| How to feed the low bands | low notes, chords, detune, noise | B/F0 ≥ 1 |
| Noise colour for sibilance | white | +3 dB per octave per constant-Q band |
| Mic gain needed | 45–60 dB | MFOS ×273, VoIS ×200 |
| Line level reference | 0 dBu = 0.775 V | Elektor 770 mV |
| Modulator conditioning | bass cut, compression | Baxandall ~1 kHz; 30 Hz rumble filter |
Vol 7 leaves analogue circuits for the digital vocoders and the devices that are mistaken for them.
Comments (0)