The Vocoder in the Telephone Age · Volume 8

The Vocoder in the Telephone Age — Vol 08: The Vocoder in Your Pocket

Homer Dudley’s machine never went away. It shrank. The analyzer/synthesizer split of 1936 — measure a few slowly varying parameters of speech, send them, rebuild a voice from local sources at the far end — is the architecture of the speech codec inside every mobile phone, every digital two-way radio, every satellite phone and most voice-over-IP calls in use today. A police officer’s P25 handheld, an amateur radio operator’s DMR or D-STAR rig, an Iridium handset on an expedition: each contains a vocoder in exactly Dudley’s sense, running on a fraction of a chip, at a voice bit rate within a factor of three of SIGSALY’s.

This closing volume surveys the vocoders of the digital-telephony era: the codecs of cellular telephony (GSM, CELP and ACELP, AMR); the multi-band excitation family from Digital Voice Systems, Inc. that dominates land-mobile, amateur and satellite radio; the open-source Codec 2; and the neural vocoders that have recently given the word its newest meaning. It ends with the comparison the whole dive has been building toward — SIGSALY’s 1943 bit rate against a DMR radio’s.

8.1 Waveform coders and vocoders, again

8.1.1 The 64 kbit/s baseline

The reference point for every figure in this volume is G.711 pulse-code modulation, issued in December 1972: 8,000 samples a second × 8 bits = 64 kbit/s, with logarithmic (μ-law or A-law) companding (Wikipedia: G.711). It codes the telephone band of roughly 300 to 3,400 Hz (Wikipedia: Voice frequency) as a waveform, sample by sample, with no model of speech at all. It is the digital equivalent of the analog telephone line, and the trunk networks of the world were built on it.

G.711 is a waveform coder: its output reproduces the input signal, whatever the signal is — speech, music, modem tones. Every codec below it in bit rate achieves its compression by being, to a greater or lesser degree, a vocoder: a coder that models the source and sends the model’s parameters (Vol 1 §6). The trade is always the same. The more a codec relies on the source–filter model of speech, the lower its bit rate and the worse it handles anything that is not one voice in quiet: music, two people talking at once, background noise.

8.1.2 Hybrids

The codecs of cellular telephony sit in between. They use Dudley’s model — a short-term linear-prediction filter for the vocal tract, a long-term predictor for the pitch — but instead of regenerating the excitation from a pitch value and a voicing bit, they code the excitation itself, more or less exactly, by analysis by synthesis (Vol 6 §5). That makes them “hybrid” coders: vocoders in structure, waveform-matching in the way they choose their parameters. They sound more natural than a pure vocoder at the cost of a higher rate — typically 6 to 13 kbit/s rather than 2 to 4.

8.1.3 Bits per frame

Because almost every coder in this volume works in 20 ms frames, the clearest way to compare them is not bits per second but bits per frame: how many bits are available to describe one 20 ms slice of speech. The figures below are simple arithmetic on the rates cited in this volume and in Vols 4 and 6.

Table 1 — 1.3 Bits per frame

CoderRate (bit/s)Bits per 20 msNotes
G.711 PCM64,0001,280160 samples × 8 bits: the waveform itself
GSM Full Rate~13,000~260160-sample frames
AMR 12.212,200244Highest AMR mode
AMR 4.754,75095Lowest AMR mode
P25 Phase 1, coded7,200144IMBE voice + FEC
P25 Phase 1, voice4,40088IMBE voice only
DMR, coded3,60072AMBE+2 voice + FEC
DMR, voice2,45049AMBE+2 voice only
LPC-102,40048Actually 54 bits per 22.5 ms (Vol 6 §3.2)
SIGSALY~1,551~3112 six-level values per 20 ms (Vol 4 §5.2)
Codec 2 700C70014
Codec 2 4504509

Read down the column and the whole history of speech coding is visible. G.711 spends 1,280 bits on each 20 ms slice because it sends the waveform. A DMR radio spends 49 bits on the same slice, because it sends a description: a pitch value, some voicing decisions, and a compact spectral envelope. SIGSALY spent about 31, on ten band levels and a two-digit pitch. Codec 2 at its lowest rate spends 9 — under a third of SIGSALY’s budget — and relies on a much better model of what a voice can be to fill in the rest.

8.2 Cellular telephony

8.2.1 GSM Full Rate: RPE-LTP

The first European digital mobile standard, GSM, used a Full Rate codec specified in GSM 06.10 (ETS 300 961): regular-pulse excitation with long-term prediction (RPE-LTP) at about 13 kbit/s (some sources give 13.2 kbit/s, counting padding). It takes 13-bit linear PCM at 8 kHz in frames of 160 samples every 20 ms and uses a short-term linear predictor of order 8 (Wikipedia: Full Rate).

The name describes the method. The short-term predictor models the vocal tract, as in LPC (Vol 6 §2). The long-term predictor (LTP) models the pitch: it predicts the current stretch of the residual from the residual one pitch period earlier, removing the periodicity that the short-term filter cannot. What remains is coded as a sequence of regularly spaced pulses — a decimated version of the residual — whose positions follow a fixed grid and whose amplitudes are quantised.

Note the 20 ms frame. It is SIGSALY’s frame (Vol 4 §3.1), arrived at independently, and for the same reason: twenty milliseconds is about as long as the vocal tract stays still.

8.2.2 CELP into cellular

The NSA historians record that “a modified form of CELP is the basis of the algorithm used in North American digital cellular systems” (NSA, Campbell & Dean). The line runs from Schroeder and Atal’s 1985 paper (Vol 6 §5) through the government FS-1016 coder to the commercial standards. The individual North American codecs (VSELP, EVRC and others), the GSM Half Rate and Enhanced Full Rate codecs, and the wideband AMR-WB and EVS codecs are not covered here; their rates and dates were not verified for this dive.

8.2.3 G.729 and AMR: ACELP

Algebraic CELP (ACELP) replaced the stored random codebook of the original CELP with an algebraic one: each codebook entry is a small number of unit pulses at positions determined by a formula, so the codebook need not be stored and can be searched far faster. It made CELP cheap enough for every handset.

  • G.729 CS-ACELP (1996) codes speech at 8 kbit/s, with annexes at 6.4 and 11.8 kbit/s (Wikipedia: G.729). It became a mainstay of voice over IP.
  • AMR (Adaptive Multi-Rate), adopted by 3GPP in October 1999, is ACELP with eight modes from 4.75 to 12.2 kbit/s — 12.2, 10.2, 7.95, 7.40, 6.70, 5.90, 5.15 and 4.75 — plus a 1.8 kbit/s silence-descriptor (SID) mode. It uses 20 ms frames of 160 samples and a band of 200 to 3,400 Hz (Wikipedia: AMR).

AMR’s eight modes let the network trade speech bits for error-protection bits as radio conditions change: on a good channel, 12.2 kbit/s of speech; on a poor one, 4.75 kbit/s of speech and the rest of the channel spent on forward error correction. The SID mode is the network’s equivalent of TASI’s insight (Vol 1 §1.2): when nobody is talking, send almost nothing — just enough to let the far end generate comfort noise.

Table 2 — 2.3 G.729 and AMR: ACELP

CodecYearMethodRate (kbit/s)FrameRatio vs 64 kbit/s
G.7111972PCM (waveform)64per sample1×
GSM Full Rate—RPE-LTP~1320 ms~4.9×
G.7291996CS-ACELP8—8×
AMR1999ACELP4.75–12.220 ms5.2×–13.5×

Ratios are simple arithmetic on the stated rates; frame lengths are given where the sources consulted state them.

8.3 Digital two-way radio: the MBE family

8.3.1 DVSI

Land-mobile radio — police, fire, utilities, the military — and amateur digital voice took a different branch. Almost all of it uses vocoders from one company, Digital Voice Systems, Inc. (DVSI), founded in 1988 by Jae S. Lim and John C. Hardwick, with Dan W. Griffin as director of research and development. The company was based in Westford, Massachusetts, and moved to Clearwater, Florida, in 2023 (DVSI corporate).

DVSI’s coders belong to the multi-band excitation (MBE) family: IMBE, AMBE, AMBE+ and AMBE+2. AMBE runs at 2 to 9.6 kbit/s, on 8 kHz speech in 20 ms frames (Wikipedia: Multi-Band Excitation). The MBE algorithm is commonly attributed to Griffin and Lim’s work at MIT; the sources consulted for this dive did not state that attribution directly, so it is recorded here as the usual account rather than a verified fact. (D. W. Griffin and J. S. Lim are also the authors of the 1984 phase-reconstruction method of Vol 7 §4.4.)

8.3.2 What multi-band excitation does

MBE is the most direct descendant of Dudley’s channel vocoder in service today, and the improvement it makes is exactly aimed at the 1939 relay (Vol 3 §3.1).

A classic vocoder decides, for each frame, whether the speech is voiced or unvoiced, and excites every band with buzz or every band with hiss. MBE divides the spectrum into bands around the harmonics of the estimated pitch and makes the voiced/unvoiced decision separately for each band. A voiced fricative such as /z/ becomes buzz in the low bands and hiss in the high ones. A breathy vowel can be voiced in the formant regions and noisy between them. The decoder synthesises voiced bands as sums of sinusoids at the harmonic frequencies, and unvoiced bands as filtered noise, and adds them.

Per frame, then, an MBE coder sends a fundamental frequency, a set of per-band voicing decisions, and the spectral amplitudes at the harmonics — Dudley’s pitch channel, his buzz/hiss relay (now one per band) and his band energies, quantised far more cleverly and protected by error-correcting codes. MELP (Vol 6 §6) applies the same insight within the linear-prediction framework.

Multi-band excitation: a voicing decision per band (schematic) 010002000 30004000frequency (Hz) VV VUV UV voiced bands: harmonics of f₀ unvoiced bands: shaped noise Example: a voiced fricative such as /z/. Band edges and f₀ = 125 Hz are illustrative, not from any standard.

8.3.3 Where the MBE vocoders are

DVSI publishes a list of the standards that use its vocoders (DVSI: AMBE in standards):

Table 3 — ([DVSI: AMBE in standards](https://www.dvsinc.com/software/standards.shtml))

SystemVocoderRate, including FEC
APCO P25AMBE+2 (Phase 2 half rate; full rate is IMBE-compatible)7,200 / 3,600 bit/s
DMR (ETSI), MOTOTRBO, dPMR, NXDNAMBE+23,600 bit/s
D-STARAMBE+2 (per DVSI; Wikipedia says AMBE)3,600 bit/s
InmarsatAMBE3,600 bit/s
IridiumAMBE2,289 bit/s
Thuraya (GMR-1)AMBE4,000 bit/s
SiriusXM trafficAMBE+24,000 bit/s
FAA NEXCOMAMBE3,600 bit/s

The rates in this table include forward error correction (FEC). In a radio channel, where bits are lost to fading and interference, a large fraction of the coded stream is redundancy that lets the receiver repair errors. The speech itself takes less.

8.3.4 P25

APCO Project 25 is the North American public-safety digital radio standard. Phase 1 uses the IMBE vocoder: “a 7200 bps IMBE vocoder that combines 4400 bps of compressed voice data with 2800 bps of Forward Error Control (FEC) data” (DVSI patent US 8,359,197, background), carried on a channel with a raw rate of 9,600 bit/s. Phase 2 uses AMBE+2 at the half rate, 3,600 bit/s including FEC, in “a 2-slot TDMA signal that fits inside a 12.5 kHz wide channel”, so that two voice paths share a channel by time division (RadioReference wiki: P25; DVSI: Mobile radio). The full-rate AMBE+2 mode is bit-stream interoperable with IMBE, which lets newer radios work on a Phase 1 system (DVSI patent US 7,970,606).

8.3.5 DMR

DMR (Digital Mobile Radio, an ETSI standard), and the commercial systems built on it or alongside it — MOTOTRBO, dPMR, NXDN — use AMBE+2 at 3,600 bit/s: 2,450 bit/s of voice plus 1,150 bit/s of FEC (DVSI: Mobile radio; KB9MWR, “How DMR Works”). DMR Tier 2 divides a 12.5 kHz channel into two time slots, each carrying one such 3,600 bit/s voice stream with its signalling.

Voice bits and error-correction bits per second 02,0004,000 6,0008,000bit/s P25 Phase 1 (IMBE) DMR (AMBE+2) SIGSALY 1943 (computed) voice 4,400 FEC 2,800 = 7,200 voice 2,450 FEC 1,150 = 3,600 ~1,551, no FEC (12 × 50 × log₂6) P25: 4,400 + 2,800 = 7,200 (DVSI patent US 8,359,197). Sources: DVSI; KB9MWR; Boone & Peterson (inputs to the SIGSALY calculation).

8.3.6 D-STAR and System Fusion

D-STAR, the amateur digital voice system, carries 3,600 bit/s in total. The commonly quoted split of 2,400 bit/s voice and 1,200 bit/s FEC is unverified here. Which vocoder it uses is also reported inconsistently: DVSI’s current standards page lists AMBE+2, (DVSI: AMBE in standards), while Wikipedia says AMBE, the coder of the AMBE-2020 chip used in the original radios. One possible reconciliation is that current AMBE+2 chips run a backward-compatible mode for D-STAR; that explanation is unverified.

Yaesu System Fusion (C4FM) uses AMBE+2. Its DN mode shares each frame between voice and data, while its VW (“Voice FR”) mode uses the full 12.5 kHz channel for higher-quality voice (Maine ARES: C4FM). The exact DN and VW vocoder rates, commonly given as 3,600 and 7,200 bit/s, are unverified here.

Readers who want the radio side of these systems — modulation, framing, talk groups, repeaters, networks — should go to The Airwaves (airwaves.fubsypoly.com), whose DMR, P25 and D-STAR dives treat each system as a radio technology. This volume treats only the vocoder at their heart.

8.3.7 Why the radios do not talk to each other

P25, DMR, D-STAR and System Fusion all use DVSI vocoders, often from the same family, yet a radio of one system cannot simply decode another’s voice. Part of the reason is the radio layer — modulation, framing, signalling — covered in The Airwaves. Part is the vocoder itself: IMBE, AMBE and AMBE+2 at their various rates and with their various error-correction schemes produce different bit streams, and a decoder built for one cannot read another.

Linking the systems therefore means transcoding: decoding one vocoder’s stream back to audio and re-encoding it in the other. Each pass through a low-rate vocoder discards fine structure that the next pass cannot recover, so the quality losses compound — a “tandem” penalty that every engineer who has linked two digital networks has met. It is Dudley’s bargain in reverse. A vocoder achieves its compression by keeping only a description of the speech; two vocoders in tandem keep only a description of a description.

8.3.8 Satellites

The same vocoders carry satellite telephony. Iridium’s AMBE runs at 2,289 bit/s; Inmarsat’s at 3,600 bit/s; Thuraya’s at 4,000 bit/s (DVSI: AMBE in standards). An Iridium call from a polar expedition is SIGSALY’s transatlantic radio link, at about one and a half times SIGSALY’s bit rate, relayed through low Earth orbit from a handset.

8.4 Codec 2: an open vocoder

DVSI’s vocoders are proprietary and patented. Codec 2 is the open alternative, written by David Rowe. Development was announced on 21 August 2009 and version 0.1 released on 25 August 2010, under the LGPL 2.1 licence and free of patents (Wikipedia: Codec 2).

Table 4 — 4. Codec 2: an open vocoder

Codec 2 propertyValue
Rates3,200, 2,400, 1,600, 1,400, 1,300, 1,200, 700 and 450 bit/s
Input8 kHz speech
MethodSinusoidal (harmonic) coding, “closely related to multi-band excitation”
Frame10 ms
Notable modes700C (finished early 2017); experimental 450 bit/s (shown July 2018)
AwardARRL Technical Innovation Award, 2012
Used inFreeDV, M17, the SM1000, FlexRadio, the LilacSat-1 CubeSat
ContributorsJean-Marc Valin (of the Opus codec) among others

Source: Wikipedia: Codec 2.

Codec 2 is a sinusoidal coder: it models voiced speech as a sum of harmonics of a fundamental, sends the fundamental and a compact description of the harmonic amplitudes, and resynthesises. It is the channel vocoder’s model with the filter-bank replaced by harmonic analysis — and, since it is open, it is the one vocoder in this volume whose source code anyone can read. At 450 bit/s, its lowest mode runs at under a third of SIGSALY’s rate.

8.5 The closing comparison

8.5.1 Every rate in the dive

Speech bit rates, 1943 to today (log scale) G.711 PCM (1972) 64,000 GSM Full Rate RPE-LTP 13,000 AMR 12.2 (ACELP) 12,200 G.729 CS-ACELP 8,000 P25 Phase 1 incl. FEC 7,200 P25 IMBE voice 4,400 DMR AMBE+2 incl. FEC 3,600 Lyra v1 (neural) 3,000 DMR AMBE+2 voice 2,450 LPC-10 / MELP 2,400 Iridium AMBE 2,289 KY-9 (1953) 1,650 SIGSALY (computed) 1,551 Speak & Spell (stored) 1,000 Codec 2 700C 700 MELPe 600 600 Codec 2 450 450 1001,00010,000100,000 bit/s (logarithmic) secure voice / LPC (Vols 4, 6) cellular / VoIP radio and satellite neural

Table 5 — 5.1 Every rate in the dive

CoderRate (bit/s)Ratio vs 64 kbit/sSource of rate
G.711 PCM64,0001×Wikipedia: G.711
GSM FR (RPE-LTP)13,0004.9×Wikipedia: Full Rate
AMR 12.212,2005.2×Wikipedia: AMR
G.7298,0008×Wikipedia: G.729
P25 Phase 1 incl. FEC7,2008.9×DVSI patent US 8,359,197
P25 IMBE (voice only)4,40014.5×Same
Lyra (v1)3,00021.3×Google Research
DMR AMBE+2 voice2,45026.1×DVSI
LPC-10 / MELP2,40026.7×Vol 6
HY-2 (1961)2,40026.7×Vol 6
Iridium AMBE2,28928.0×DVSI
KY-9 (1953)1,65038.8×Vol 6
SIGSALY (computed)~1,551~41×Vol 4 §5.2
Speak & Spell (stored, not transmitted)~1,00064×Vol 6 §7
Codec 2 700C70091×Wikipedia: Codec 2
MELPe 600600107×Vol 6 §6
Codec 2 450450142×Wikipedia: Codec 2

8.5.2 SIGSALY and a DMR radio

The comparison the dive has been building toward is this: SIGSALY in 1943 sent speech at roughly 1.5 kbit/s; a DMR handheld today sends speech at 2.45 kbit/s. The pocket radio uses about 1.6 times the bit rate of a 55-ton terminal. Eighty years of progress did not go into the bit rate. They went into three other things:

  1. Quality. SIGSALY’s speech was intelligible but, in Buckley’s 1943 words, “somewhat unnatural,” with voices “not always recognizable” (Vol 4 §1.3). A DMR radio’s AMBE+2 voice is recognisably the talker, and handles a wider range of voices and conditions.
  2. Robustness. SIGSALY had no forward error correction; its six-level tones were decided symbol by symbol over a fading HF path, aided by an operator watching an eye pattern. A DMR stream adds 1,150 bit/s of FEC to every 2,450 bit/s of voice — nearly a third of its 3,600 bit/s — and repairs most errors before the vocoder ever sees them.
  3. Size and cost. Fifty-five tons, forty racks, 30 kW, a 356-strong Signal Service Company to run the network, about a million 1943 dollars a terminal (Vol 4 §7) — against a chip in a radio that fits in a shirt pocket.

What did not change is the frame. SIGSALY sampled its vocoder every 20 ms. GSM, AMR and AMBE all work in 20 ms frames. That is not a coincidence of engineering choices; it is a fact about speech. The vocal tract changes shape at roughly the rate Dudley measured in 1935 — “no more than about 8 to 10 times per second” — and every coder since has found that a frame of about 20 ms is the natural unit at which to describe it.

Figure 1 — Part of a SIGSALY terminal on display at the National Cryptologic Museum — the 1943 equivalent of the vocoder chip in a modern DMR or P25 radio, at a bit rate within a factor of three
Figure 1 — Part of a SIGSALY terminal on display at the National Cryptologic Museum — the 1943 equivalent of the vocoder chip in a modern DMR or P25 radio, at a bit rate within a factor of three — Photo: Mark Pellegrini, CC BY-SA 2.5, 2007, via Wikimedia Commons

8.6 Neural vocoders: the newest meaning of the word

8.6.1 WaveNet

In September 2016 DeepMind described WaveNet, “a deep neural network for generating raw audio,” which produced speech one sample at a time at 16,000 samples a second. After a reported 1,000-fold speed-up it was deployed for Google Assistant voices in US English and Japanese in October 2017 (Wikipedia: WaveNet).

In text-to-speech research, “vocoder” has since come to mean the stage that turns an acoustic description of speech — typically a mel-scaled magnitude spectrogram — into a waveform. A first network predicts the description from text; a second, the neural vocoder, synthesises the sound. That is Dudley’s analyzer/synthesizer split exactly, with both halves learned, and with the Voder’s operator (Vol 2) — the part that turns language into control signals — replaced by a network too.

It also inherits the phase vocoder’s hardest problem (Vol 7 §4.4). A mel spectrogram contains magnitudes and no phase; something must supply a consistent phase. The Griffin–Lim iteration of 1984 can, but it sounds phasey. A neural vocoder learns to produce waveforms whose phases are natural — the problem Dudley dismissed in 1940 as unimportant to intelligibility, solved at last for the sake of naturalness.

8.6.2 Lyra: the channel vocoder with a learned synthesizer

Google’s Lyra, announced on 25 February 2021, applies the same idea to communication rather than synthesis. It extracts features from speech every 40 ms, sends them at 3 kbit/s, and rebuilds speech at the receiver with a generative model. Google itself likened it to classic parametric coding: “very similar to other traditional parametric codecs, such as MELP” (Google Research blog). Lyra V2, released in September 2022, is based on Google’s SoundStream, offers 3.2, 6 and 9.2 kbit/s modes, and is published under the Apache licence (Google Open Source blog).

Lyra is the clearest statement yet of the continuity. Its encoder is an analyzer that measures a compact description of speech at a slow frame rate. Its decoder is a synthesizer that regenerates a voice locally. Between them flows a stream at twice SIGSALY’s rate. The only new thing is that the synthesizer has learned what a voice sounds like, rather than being a relaxation oscillator, a noise tube and ten filters.

8.7 Where to go next

This dive has followed the vocoder as a telephone, cryptographic and coding technology. Its other lives are covered elsewhere on this site:

  • How a Vocoder Works — the channel vocoder as an engineer builds it: filter banks, envelope followers, VCAs, band count and spacing, and the digital variants.
  • The Vocoder in Music — from Meyer-Eppler and the electronic-music studios to the records that made the talking synthesizer famous.
  • The Classic Vocoders — the instruments themselves, including the Soviet EM-26 that descends from the tradition of Vol 5.
  • The Airwaves (airwaves.fubsypoly.com) — the DMR, P25 and D-STAR dives, for the radio systems that carry the AMBE and IMBE vocoders of §3.
  • The Telephones project — for the analog telephone network that Dudley was trying to economise.
  • The SCIF project — for secure communications as a facility, of which SIGSALY’s Selfridges basement was an early example.

8.8 The dive in one table

Table 6 — 8. The dive in one table

YearMilestoneRateVol
1928Dudley begins (later accounts)—1
1935Vocoder patent filed (US 2,151,091)~300 Hz control bandwidth1
1936First public demonstration, Harvard—1
1939Voder at the World’s Fair; “The Vocoder” published11 × 25 Hz2, 3
1941First Soviet vocoder (Kotelnikov)—5
1943SIGSALY in service~1.2–1.6 kbit/s4
1950M-803 approved (Marfino)—5
1953KY-91,650 bit/s6
1961HY-22,400 bit/s6
1966Phase vocoder; linear prediction applied to speech—7, 6
1978Speak & Spell~1,000 bit/s6
1984LPC-10 (FS-1015)2,400 bit/s6
1985CELP—6
1987STU-IIIup to 9 kbit/s6
1988DVSI founded—8
1996G.7298,000 bit/s8
1997MELP (MIL-STD-3005)2,400 bit/s6
1999AMR4.75–12.2 kbit/s8
2010Codec 2 v0.1450–3,200 bit/s8
2016WaveNet—8
2021Lyra3,000 bit/s8
todayDMR AMBE+2 in a pocket radio2,450 bit/s voice8

From a 1928 idea at Bell Labs to the radio on a firefighter’s shoulder, the idea is the one Dudley stated: speech is a carrier modulated slowly by the vocal tract. Send the modulation, and regenerate the carrier.

Comments (0)

  1. Loading…

Comments are held for moderation — nothing appears until approved.