A vocoder (//, a portmanteau of voice and encoder) is a category of voice codec that analyzes and synthesizes the human voice signal for audio data compression, multiplexing, voice encryption, voice transformation, etc.
The earliest type of vocoder, the channel vocoder, was originally developed as a voice codec for telecommunications applications in the 1930s, the idea being to code speech in order to conserve bandwidth for transmission.
In the encoder, the input is passed through a multiband filter, then each band is passed through an envelope follower, and the control signals from the envelope followers are transmitted to the decoder. The decoder applies these (amplitude) control signals to corresponding amplifiers of the filter channels for re-synthesis. Since these control signals change only slowly compared to the original speech waveform, the bandwidth required to transmit speech can be reduced. This allows more speech channels to share a single communication channel, such as a radio channel or a submarine cable.
By encrypting the control signals, voice transmission can be secured against interception. Its primary use in this fashion is for secure radio communication. The advantage of this method of encryption is that none of the original signal is sent, only envelopes of the bandpass filters. The receiving unit needs to be set up in the same filter configuration to re-synthesize a version of the original signal spectrum.
The human voice consists of sounds generated by the opening and closing of the glottis by the vocal cords, which produces a periodic waveform with many harmonics. This basic sound is then filtered by the nose and throat (a complicated resonant piping system) to produce differences in harmonic content (formants) in a controlled way, creating the wide variety of sounds used in speech. There is another set of sounds, known as the unvoiced and plosive sounds, which are created or modified by the mouth in different fashions.
The vocoder examines speech by measuring how its spectral characteristics change over time. This results in a series of signals representing these modified frequencies at any particular time as the user speaks. In simple terms, the signal is split into a number of frequency bands (the larger this number, the more accurate the analysis) and the level of signal present at each frequency band gives the instantaneous representation of the spectral energy content. Thus, the vocoder dramatically reduces the amount of information needed to store speech, from a complete recording to a series of numbers. To recreate speech, the vocoder simply reverses the process, processing a broadband noise source by passing it through a stage that filters the frequency content based on the originally recorded series of numbers. Information about the instantaneous frequency of the original voice signal (as distinct from its spectral characteristic) is discarded; it was not important to preserve this for the purposes of the vocoder's original use as an encryption aid. It is this "dehumanizing" aspect of the vocoding process that has made it useful in creating special voice effects in popular music and audio entertainment.
Since the vocoder process sends only the parameters of the vocal model over the communication link, instead of a point-by-point recreation of the waveform, the bandwidth required to transmit speech can be reduced significantly.
Analog vocoders typically analyze an incoming signal by splitting the signal into a number of tuned frequency bands or ranges. A modulator and carrier signal are sent through a series of these tuned bandpass filters. In the example of a typical robot voice, the modulator is a microphone and the carrier is noise or a sawtooth waveform.[clarification needed] There are usually between eight and 20 bands.
The amplitude of the modulator for each of the individual analysis bands generates a voltage that is used to control amplifiers for each of the corresponding carrier bands. The result is that frequency components of the modulating signal are mapped onto the carrier signal as discrete amplitude changes in each of the frequency bands. (See Modulation).
Often there is an unvoiced band or sibilance channel. This is for frequencies that are outside the analysis bands for typical speech but are still important in speech. Examples are words that start with the letters s, f, ch or any other sibilant sound. These can be mixed with the carrier output to increase clarity. The result is recognizable speech, although somewhat "mechanical" sounding. Vocoders often include a second system for generating unvoiced sounds, using a noise generator instead of the fundamental frequency.
In the channel vocoder algorithm, among the two components of an analytic signal, considering only the amplitude component and simply ignoring the phase component tends to result in an unclear voice; on methods for rectifying this, see phase vocoder.
The development of a vocoder was started in 1928 by Bell Labs engineer Homer Dudley, who was granted patents for it, US application 2,151,091 on March 21, 1939, and US application 2,098,956 on Nov 16, 1937.
Then, to show the speech synthesis ability of its decoder part, the Voder (Voice Operating Demonstrator, US application 2,121,142 ), was introduced to the public at the AT&T building at the 1939–1940 New York World's Fair. The Voder consisted of a switchable pair of electronic oscillator and noise generator as a sound source of pitched tone and hiss, 10-band resonator filters with variable-gain amplifiers as a vocal tract, and the manual controllers including a set of pressure-sensitive keys for filter control, and a foot pedal for pitch control of tone. The filters controlled by keys convert the tone and the hiss into vowels, consonants, and inflections. This was a complex machine to operate, but with a skilled operator could produce recognizable speech.[media 1]
Dudley's vocoder was used in the SIGSALY system, which was built by Bell Labs engineers in 1943. SIGSALY was used for encrypted high-level voice communications during World War II. Later work in this field was conducted by James Flanagan.
- Terminal equipment for Digital Mobile Radio (DMR) based systems.
- Digital Trunking
- DMR TDMA
- Digital Voice Scrambling and Encryption
- Digital WLL
- Voice Storage and Playback Systems
- Messaging Systems
- VoIP Systems
- Voice Pagers
- Regenerative Digital Voice Repeaters
- Cochlear Implants
- Musical and other artistic effects
Even with the need to record several frequencies, and additional unvoiced sounds, the compression of vocoder systems is impressive. Standard speech-recording systems capture frequencies from about 500 Hz to 3,400 Hz, where most of the frequencies used in speech lie, typically using a sampling rate of 8 kHz (slightly greater than the Nyquist rate). The sampling resolution is typically at least 12 or more bits per sample resolution (16 is standard), for a final data rate in the range of 96–128 kbit/s, but a good vocoder can provide a reasonably good simulation of voice with as little as 2.4 kbit/s of data.
"Toll quality" voice coders, such as ITU G.729, are used in many telephone networks. G.729 in particular has a final data rate of 8 kbit/s with superb voice quality. G.723 achieves slightly worse quality at data rates of 5.3 kbit/s and 6.4 kbit/s. Many voice vocoder systems use lower data rates, but below 5 kbit/s voice quality begins to drop rapidly.
Several vocoder systems are used in NSA encryption systems:
- LPC-10, FIPS Pub 137, 2400 bit/s, which uses linear predictive coding
- Code-excited linear prediction (CELP), 2400 and 4800 bit/s, Federal Standard 1016, used in STU-III
- Continuously variable slope delta modulation (CVSD), 16 kbit/s, used in wide band encryptors such as the KY-57.
- Mixed-excitation linear prediction (MELP), MIL STD 3005, 2400 bit/s, used in the Future Narrowband Digital Terminal FNBDT, NSA's 21st century secure telephone.
- Adaptive Differential Pulse Code Modulation (ADPCM), former ITU-T G.721, 32 kbit/s used in STE secure telephone
(ADPCM is not a proper vocoder but rather a waveform codec. ITU has gathered G.721 along with some other ADPCM codecs into G.726.)
Modern vocoders that are used in communication equipment and in voice storage devices today are based on the following algorithms:
- Algebraic code-excited linear prediction (ACELP 4.7 kbit/s – 24 kbit/s)
- Mixed-excitation linear prediction (MELPe 2400, 1200 and 600 bit/s)
- Multi-band excitation (AMBE 2000 bit/s – 9600 bit/s)
- Sinusoidal-Pulsed Representation (SPR 600 bit/s – 4800 bit/s)
- Robust Advanced Low-complexity Waveform Interpolation (RALCWI 2050bit/s, 2400bit/s and 2750bit/s)
- Tri-Wave Excited Linear Prediction (TWELP 600 bit/s – 9600 bit/s)
- Noise Robust Vocoder (NRV 300 bit/s and 800 bit/s)
Since the late 1970s, most non-musical vocoders have been implemented using linear prediction, whereby the target signal's spectral envelope (formant) is estimated by an all-pole IIR filter. In linear prediction coding, the all-pole filter replaces the bandpass filter bank of its predecessor and is used at the encoder to whiten the signal (i.e., flatten the spectrum) and again at the decoder to re-apply the spectral shape of the target speech signal.
One advantage of this type of filtering is that the location of the linear predictor's spectral peaks is entirely determined by the target signal, and can be as precise as allowed by the time period to be filtered. This is in contrast with vocoders realized using fixed-width filter banks, where spectral peaks can generally only be determined to be within the scope of a given frequency band. LP filtering also has disadvantages in that signals with a large number of constituent frequencies may exceed the number of frequencies that can be represented by the linear prediction filter. This restriction is the primary reason that LP coding is almost always used in tandem with other methods in high-compression voice coders.
Waveform-interpolative (WI) vocoder was developed in AT&T Bell Laboratories around 1995 by W.B. Kleijn, and subsequently a low- complexity version was developed by AT&T for the DoD secure vocoder competition. Notable enhancements to the WI coder were made at the University of California, Santa Barbara. AT&T holds the core patents related to WI, and other institutes hold additional patents. Using these patents as a part of WI coder implementation requires licensing from all IPR holders.
Uses in music
For musical applications, a source of musical sounds is used as the carrier, instead of extracting the fundamental frequency. For instance, one could use the sound of a synthesizer as the input to the filter bank, a technique that became popular in the 1970s.
Werner Meyer-Eppler, a German scientist with a special interest in electronic voice synthesis, published a thesis in 1948 on electronic music and speech synthesis from the viewpoint of sound synthesis. Later he was instrumental in the founding of the Studio for Electronic Music of WDR in Cologne, in 1951.
In 1968, Bruce Haack built a prototype vocoder, named "Farad" after Michael Faraday. It was first featured on "The Electronic Record For Children" released in 1969 and then on his rock album The Electric Lucifer released in 1970.[media 3]
In 1970, Wendy Carlos and Robert Moog built another musical vocoder, a ten-band device inspired by the vocoder designs of Homer Dudley. It was originally called a spectrum encoder-decoder, and later referred to simply as a vocoder. The carrier signal came from a Moog modular synthesizer, and the modulator from a microphone input. The output of the ten-band vocoder was fairly intelligible, but relied on specially articulated speech. Later improved vocoders[by whom?] use a high-pass filter to let some sibilance through from the microphone; this ruins the device for its original speech-coding application, but it makes the "talking synthesizer" effect much more intelligible.
Vocoders have appeared on pop recordings from time to time, most often simply as a special effect rather than a featured aspect of the work. However, many experimental electronic artists of the new-age music genre often utilize vocoder in a more comprehensive manner in specific works, such as Jean Michel Jarre (on Zoolook, 1984) and Mike Oldfield (on QE2, 1980 and Five Miles Out, 1982).
Vocoder module and use by M. Oldfield can be clearly seen on his "Live At Montreux 1981" DVD (Track "Sheba").
There are also some artists who have made vocoders an essential part of their music, overall or during an extended phase. Examples include the German synthpop group Kraftwerk, Stevie Wonder ("Send One Your Love", "A Seed's a Star") and jazz/fusion keyboardist Herbie Hancock during his late 1970s period. In 1982 Neil Young used a Sennheiser Vocoder VSM201 on six of the nine tracks on Trans. Perhaps the most heard, yet often unrecognized, example of the use of a vocoder in popular music, is on Michael Jackson's 1982 album Thriller, in the song "P.Y.T. (Pretty Young Thing)". During the first few seconds of the song, the background voicings "ooh-ooh, ooh, ooh", behind his spoken words, exemplify the heavily modulated sound of his voice through a Vocoder. The bridge features a vocoder as well ("Pretty young thing/You make me sing"), courtesy of session musician Michael Boddicker.
Coldplay have used a vocoder in some of their songs. For example, in "Major Minus" and "Hurts Like Heaven", both from the album Mylo Xyloto (2011), Chris Martin's vocals are mostly vocoder-processed. "Midnight", from Ghost Stories (2014), also features Martin singing through a vocoder. The hidden track "X Marks The Spot" from "A Head Full of Dreams" has also been recorded through a vocoder.
Noisecore band Atari Teenage Riot have used vocoders in variety of their songs and live performances such as Live at the Brixton Academy (2002) alongside other digital audio technology both old and new.
Red Hot Chili Peppers song By the Way uses a vocoder effect on Anthony Kiedis' vocals.
Among the most consistent uses of vocoder in emulating the human voice are Daft Punk, who have used this instrument from their first album Homework (1997) to their latest work Random Access Memories (2013) and consider the convergence of technological and human voice "the identity of their musical project". For instance, the lyrics of "Around the World" (1997) are integrally vocoder-processed, "Get Lucky" (2013) features a mix of natural and processed human voices, and "Instant Crush" (2013) features Julian Casablancas singing into a vocoder.
Voice effects in other arts
"Robot voices" became a recurring element in popular music during the 20th century. Apart from vocoders, several other methods of producing variations on this effect include: the Sonovox, Talk box, and Auto-Tune,[media 4] linear prediction vocoders, speech synthesis,[media 5][media 6] ring modulation and comb filter.
Vocoders are used in television production, filmmaking and games, usually for robots or talking computers. The robot voices of the Cylons in Battlestar Galactica were created with an EMS Vocoder 2000. The 1980 version of the Doctor Who theme, as arranged and recorded by Peter Howell, has a section of the main melody generated by a Roland SVC-350 Vocoder. A vocoder was also used to create the iconic voice of Soundwave, a character from the Transformers series.
In 1972, Isao Tomita's first electronic music album Electric Samurai: Switched on Rock was an early attempt at applying speech synthesis technique  in electronic rock and pop music. The album featured electronic renditions of contemporary rock and pop songs, while utilizing synthesized voices in place of human voices. In 1974, he utilized synthesized voices in his popular classical music album Snowflakes are Dancing, which became a worldwide success and helped to popularize electronic music. Emerson, Lake and Palmer used it for the album Brain Salad Surgery (1973).
- for musical applications
- Dudley, Homer (October 1940). "The Carrier Nature of Speech". Bell System Technical Journal. XIX (4).
- "HY-2 Vocoder". Crypto Machines.
- Mills, Mara (2012). "Media and Prosthesis: the Vocoder, the Artificial Larynx, and the History of Signal Processing". Qui Parle. 21 (1): 107–149. doi:10.5250/quiparle.21.1.0107.
- US application 2151091, Dudley, Homer W., "Signal Transmission", published May 21, 1939, assigned to Bell Telephone Laboratories, Inc. (filed October 30, 1935)
- US application 2098956, Dudley, Homer W., "Signaling system", published November 16, 1937, assigned to Bell Telephone Laboratories, Inc. (filed December 2, 1936)
- US apprication 2121142, Dudley, Homer, "Signal Transmission", published June 21, 1938, assigned to Bell Telephone Laboratories, Inc. (filed April 7, 1937)
- "The 'Voder' & 'Vocoder' Homer Dudley, USA, 1940". 120 Years of Electronic Music (120years.net). 2013-09-21.
The Vocoder (Voice Operated reCorDER) and Voder (Voice Operation DEmonstratoR) developed by the research physicist Homer Dudley, ... The Voder was first unveiled in 1939 at the New York World Fair (where it was demonstrated at hourly intervals) and later in 1940 in San Francisco. There were twenty trained operators known as the ‘girls’ who handled the machine much like a musical instrument such as a piano or an organ, ... This was done by manipulating fourteen keys with the fingers, a bar with the left wrist and a foot pedal with the right foot.
"The Voder (1939)". Talking Heads: Simulacra. Haskins Laboratories.; based on James L. Flanagan (1965). "Speech Synthesis". Speech Analysis, Synthesis and Perception. Springer-Verlag. pp. 172–173.
See: schematic diagram of the Voder synthesizer.
- Ernst Rothauser Dissertation and patents on vocoder technology
- "Voice Age" (licensing). VoiceAge Corporation.
- "MELPe – FAQ". Compandent Inc.
- "IMBE™ and AMBE®". Digital Voice Systems, Inc.
- "SPR Vocoders". DSP Innovations Inc.
- "RALCWI Vocoder IC's". CML Microcircuits. CML Microsystems Plc.
- "TWELP™ Vocoder". DSP Innovations Inc.
- "Noise Rubust Vocoders". Raytheon BBN Technologies. Archived from the original on 2014-04-02.
- Kleijn, W.B.; Haagen, J.; (AT&T Bell Labs., Murray Hill, NJ) (1995). "A speech coder based on decomposition of characteristic waveforms". 1995 International Conference on Acoustics, Speech, and Signal Processing. IEEE 1995 International Conference on Acoustics, Speech, and Signal Processing, 1995. ICASSP-95. 1. pp. 508–511. doi:10.1109/ICASSP.1995.479640. ISBN 978-0-7803-2431-2.CS1 maint: Multiple names: authors list (link)
- Kleijn, W.B.; Shoham, Y.; Sen, D.; Hagen, R.; (AT&T Bell Labs., Murray Hill, NJ) (1996). "A low-complexity waveform interpolation coder". 1996 IEEE International Conference on Acoustics, Speech, and Signal Processing Conference Proceedings. IEEE Icassp 1996. 1. pp. 212–215. doi:10.1109/ICASSP.1996.540328. ISBN 978-0-7803-3192-1.CS1 maint: Multiple names: authors list (link)
- Gottesman, O.; Gersho, A.; (Dept. of Electr. & Comput. Eng., California Univ., Santa Barbara, CA) (2001). "Enhanced waveform interpolative coding at low bit-rate". IEEE Transactions on Speech and Audio Processing. 9 (November 2001): 786–798. doi:10.1109/89.966082.CS1 maint: Multiple names: authors list (link)
- Meyer-Eppler, Werner (1949), Elektronische Klangerzeugung: Elektronische Musik und synthetische Sprache, Bonn: Ferdinand Dümmlers
- Diesterhöft, Sonja (2003), "Meyer-Eppler und der Vocoder", Seminars Klanganalyse und -synthese (in German), Fachgebiet Kommunikationswissenschaft, Institut für Sprache und Kommunikation, Berlin Institute of Technology, archived from the original on 2008-03-05
- "Das Siemens-Studio für elektronische Musik von Alexander Schaaf und Helmut Klein" (in German). Deutsches Museum. Archived from the original on 2013-09-30.
- Holmes, Thom (2012). "Early Synthesizers and Experimenters". Electronic and Experimental Music: Technology, Music, and Culture (4th ed.). Routledge. pp. 190–192. ISBN 978-1-136-46895-7.
(See also excerpt of pp. 157–160 from the 3rd edition in 2008 (ISBN 978-0-415-95781-6))
- Bode, Harald (October 1984). "History of Electronic Sound Modification" (PDF). Journal of the Audio Engineering Society. 32 (10): 730–739.
- BRUCE HAACK – FARAD: THE ELECTRIC VOICE (Media notes). Bruce Haack. Stones Throw Records LLC. 2010.CS1 maint: others (link)
- "Bruce Haack's Biography 1965–1974". Bruce Haack Publishing.
- Flans, Robyn (5 January 2005). "Classic Tracks: Phil Collins' "In the Air Tonight"". Mix Online. Retrieved 25 February 2015.
- Tompkins, Dave (2010–2011). How to Wreck a Nice Beach: The Vocoder from World War II to Hip-Hop, The Machine Speaks. Melville House. ISBN 978-1-61219-093-8.
- "The Vocoder: From Speech-Scrambling To Robot Rock". NPR Music. May 13, 2010.
- "Midnight is amazing! But it sounds like Chris's voice has autotune in some parts. I thought Coldplay doesn't use autotune?". Coldplay "Oracle". 5 March 2014. Retrieved 25 March 2014.
- "Daft Punk: "La musique actuelle manque d'ambition"" (interview). Le Figaro. May 3, 2013.
- Jenkins, Mark (2007), Analog synthesizers: from the legacy of Moog to software synthesis, Elsevier, pp. 133–4, ISBN 978-0-240-52072-8, retrieved 2011-05-27
- Multimedia references
One Of The First Vo[
co]der Machine (Motion picture). c. 1939.
A demonstration of the Voder (not the Vocoder).
- Siemens Electronic Music Studio in Deutsches Museum (multi part) (Video).
Details of the Siemens Electronic Music Studio, exhibited at the Deutsches Museum.
- Bruce Haack (1970). Electric to Me Turn – from "The Electric Lucifer" (Phonograph). Columbia Records.
A sample of earlier Vocoder.
- T-Pain (2005). I'm Sprung (CD Single/Download). Jive Records.
A sample of Auto-Tune effect (a.k.a. T-Pain effect).
- Earlier Computer Speech Synthesis (Audio). AT&T Bell Labs. c. 1961.
A sample of earlier computer based speech synthesis and song synthesis, by John Larry Kelly, Jr. and Louis Gerstman at Bell Labs, using IBM 704 computer. The demo song “Daisy Bell”, musical accompanied by Max Mathews, impressed Arthur C. Clarke and later he used it in the climactic scene of the screenplay for his novel 2001: A Space Odyssey.
- TI Speak & Spell (Video). Texas Instruments. c. 1980.
A sample of speech synthesis.
|Wikimedia Commons has media related to Vocoders.|
- "How Vocoders Work" from PAIA
- Description, photographs, and diagram for the vocoder at 120years.net
- Vokator Tutorial. Description of a modern Vocoder.
- GPL implementation of a vocoder, as a LADSPA plugin
- O'Reilly Article on Vocoders
- Object of Interest: The Vocoder The New Yorker Magazine mini documentary