Soundroo

Guides

What Is a Vocoder and How Does It Work?

Published October 15, 2026

In music production, a vocoder uses one sound’s changing tone and pronunciation to shape another. It often turns speech into a robotic, synth-like voice. It analyzes which frequency ranges in a voice are loud or quiet, then uses those changes to shape a separate sound, such as a synthesizer. The voice that controls the effect is the modulator; the sound being shaped is the carrier.

Soundroo can make tracks that use a vocoder-style robot voice for short spoken phrases. Understanding the two vocoder inputs makes it easier to describe the effect you want, whether you are shaping a synth lead around speech or asking an AI agent to make a robotic vocal texture.

How a vocoder shapes a carrier

A vocoder first splits the modulator into frequency ranges using a filter bank, a group of filters that each pass a different part of the sound’s frequency spectrum. For speech, those ranges capture changing details such as the emphasis on vowels and consonants.

The vocoder measures how loud each range is over time. An envelope tracks how loud each range is over time while smoothing rapid changes. The vocoder then uses each envelope to turn up or down the matching frequency range in the carrier. As the speaker says different sounds, the carrier’s tone shifts to follow changes in how loud the voice’s different frequency ranges are.

For example, speaking into a vocoder while playing a sustained synthesizer note makes the synth pulse and change tone with the speech. A sawtooth wave works as a carrier because it contains many harmonics, or tone components, that the filter bank can shape. Noise is another option. It covers a broad range of frequencies but has no clear musical pitch, so it produces a hiss-like sound. These carrier choices and the filter-bank approach are described in Perfect Circuit’s overview of Homer Dudley’s vocoder.

The carrier strongly affects the result. A pitched synthesizer tends to produce a tonal, musical sound. Noise contributes a less pitched texture. The number of frequency bands also matters: more bands can preserve finer detail, but vocoders use different band counts depending on their design. For instance, the Audacity Vocoder effect uses 40 bands by default, while other designs use fewer. There is no single band count that applies to every vocoder.

Why vocoder speech sounds robotic

A vocoder carries the voice’s changing frequency balance onto another sound, so listeners hear speech-like articulation through the carrier’s tone. If the carrier stays steady while the voice changes, the words seem to come from the synth rather than from a natural speaking voice.

The result depends on what the carrier can provide. A simple sustained tone gives the voice a uniform, electronic quality. A carrier with sound across more frequencies can produce more detailed changes. Speech clarity also depends on how well the vocoder handles brief consonant sounds, such as “s” and “t.” Some designs add noise or other processing to preserve those sounds.

A vocoder does not automatically make words clear. Try a short, plainly spoken phrase and a carrier with a strong, sustained sound. If the words are hard to follow, adjust the carrier or simplify the phrase. A vocoder effect also does not mean that the voice is singing: the effect can process speech while leaving the carrier’s pitch to determine the musical notes.

From speech encoding to electronic music

Homer Dudley began developing a vocoder at Bell Labs in 1928. The name combines “voice” and “encoder.” Early vocoders analyzed speech and encoded it for transmission using less information than the original sound. The basic source-filter idea treats the vocal cords as a sound source and the mouth, nose, and throat as shapes that filter that sound.

The Voder, demonstrated at the 1939 World’s Fairs, used the vocoder’s synthesis approach but required a person to operate it manually. Its keys and controls selected sounds and filter settings to create speech. It took substantial training to operate intelligibly, as described in Stanford’s account of Dudley’s vocoder.

Music vocoders use similar steps to analyze one sound and use its changes to shape another, creating an audible effect. The term also appears in communications technology, where vocoders encode speech for transmission. Those uses share a history and broad technical principle, but a music vocoder is typically discussed in terms of a modulator, a carrier, and the sound they produce.

Making a vocoder-style track with Soundroo

Soundroo is a free, open-source tool that lets an AI agent make music. To request a track with a robotic spoken phrase, paste this prompt into an AI agent and replace the bracketed description:

Make me a track: [a steady synth groove with a short, robotic spoken phrase]. Use Soundroo for it. If you have Soundroo tools, use them. If you can run commands, clone https://github.com/vincentsch/soundroo, read its AGENTS.md and follow the steps. If you can't do either, send me to https://soundroo.com/connect

Coding agents that run commands use Soundroo on your computer and require Node.js. ChatGPT and Claude connect through Soundroo’s remote service; you add the connector and sign in by following the Soundroo connection steps. You can also set styles, track count, length, and spoken words with the custom prompt builder.

The agent describes each track in a score, a JSON file that lists its tempo, instruments, notes, patterns, and sections. Soundroo’s JavaScript engine creates the sounds digitally and mixes the track. For spoken words, Soundroo uses Kokoro, a small open model for generating speech that runs locally. It can turn short phrases into rhythmic chops or textures, or give them a vocoder-style robot voice. Soundroo does not make sung vocals.

After Soundroo renders a version, listen to it and tell the agent what to change, such as “faster,” “less piano,” or “keep the bass line.” The agent cannot hear the track, but it checks for technical problems such as clipping or silence. It also checks for excessive limiting and level jumps. It then changes the score and renders another version. Soundroo’s documentation describes its tools and output options.

Not playing Choose something to play