Three sine waves, and a sentence comes out of them.

If you watched Andrew Huang's video on vowel synthesis with Undulae, you heard it happen. Three tones played one at a time: "a weird melody", "just R2D2", birds. Two together, still nothing. All three together, and after one more listen, "Where were you a year ago?" Undulae sums it up a moment later: "Each vowel has its set of three frequency values of where the peaks reside." And Andrew signs off by asking the comments where in our bodies those peaks come from.

Andrew Huang and Undulae exploring vowel synthesis
Andrew Huang and Undulae. It starts at the sine-wave demo, 1:58. Click to play.

The where is the easy part. The more useful question for anyone building a vowel patch is how many of those peaks you actually need, and what each one is doing. The short answer: two of them make the vowel, a third sharpens a few vowels, and the ones above that change little from vowel to vowel. They're there, and they matter, but what they tell you is whose voice it is.

Where the peaks come from

Your vocal folds buzz and make a tone packed with harmonics. Everything above them, throat, mouth, tongue, lips, is a tube, and a tube has resonances. Those resonances are the formants, numbered from the bottom: F1, F2, F3 and up. Move your tongue or open your jaw and you change the shape of the tube, so the resonances move. The buzz sets the note, the tube sets the vowel. I went through that model in more detail in How to Make a Synth Sound Like a Voice, so here I'll stay on the peaks themselves.

The sine wave trick

What Andrew and Undulae played is sine-wave speech. Philip Rubin wrote the synthesis program at Haskins Laboratories in the 1970s, and in 1981 Robert Remez, Rubin, David Pisoni and Thomas Carrell published the result in Science under the title "Speech perception without traditional speech cues". You track the formants of a recorded sentence, throw the recording away, and replace each formant with a single sine wave that follows its frequency and level. No buzz, no harmonics, no breath: three whistles.

And people understand the sentence. Not everyone, and not at once: Matt Davis, who studies speech perception in Cambridge, writes that most people hearing it cold hear "a set of simultaneous whistles, or science fiction sounds". Play them the original sentence first, and the same whistles turn into words they can't stop hearing. In the video it took a second listen: "Wait, play it again", then the sentence, then "I can't not hear it even with just the middle one."

So the words survive with three numbers per moment, which is the part of Undulae's line that holds up. The voice doesn't: what you hear is a whistled sentence, not someone saying it.

F1 and F2 do most of the work

Two of those three whistles carry most of the vowel.

  • F1 follows how open your mouth is. Low for "ee" and "oo", high for "ah". Drop your jaw and F1 goes up.
  • F2 follows where your tongue is, front or back. High for "ee" (tongue forward), low for "oo" (tongue back).

That's why vowel charts are drawn as a plane and not as a list: two numbers place almost every vowel. Researchers at Haskins already built vowels from two formants on the Pattern Playback in the early 1950s (Delattre, Liberman, Cooper and Gerstman, 1952).

It's also why a homemade vowel patch can read clearly with everything else wrong, as long as F1 and F2 are right.

F3: a few sounds live there

F3 matters less for most vowels, but a few sounds are carried by it almost entirely.

  • The American "r". The "er" in "heard" pulls F3 way down, often below 2000 Hz, where it sits well above 2400 Hz for most other sounds (Carol Espy-Wilson's work on /r/ is the reference here). Take F3 out and the "r" colour goes with it.
  • Rounded front vowels. Swedish has an "ee" and a rounded "ee" (written i and y) whose F1 and F2 are almost the same. The difference is in F3, lower for the rounded one, which goes back to Gunnar Fant's measurements.

So three peaks is a good number for a patch if you want the words of a language like English.

F4 and up: whose head it is

Above F3, the resonances move much less when you switch vowels, largely because they depend on a part of the tube your tongue and jaw hardly touch.

A Japanese team led by Tatsuya Kitamura, Kiyoshi Honda and Hironori Takemoto looked at this with MRI. The cavities at the very bottom of the throat, just above the vocal folds, kept "relatively stable" shapes whatever the vowel, while they varied a lot from one speaker to the next, and that variation showed up in the spectrum above about 2.5 kHz (Kitamura, Honda and Takemoto, 2005). A follow-up paper from the same group in 2006 (Takemoto, Adachi, Kitamura, Mokhtari and Honda) showed that the small cavity right above the vocal folds produces one formant on its own, the fourth in their speaker.

Change that region and you don't get a new vowel, you change the head the vowel seems to come from.

One twist, so you don't over-learn this: the identity of a speaker isn't only up there. In 1997 Remez, Jennifer Fellowes and Rubin trained listeners to recognise ten talkers from sine-wave sentences, and they could, even without any natural vocal quality left in the signal. The way someone moves through their vowels, their accent and timing, is part of who they are, and three whistles keep that.

What this means when you build a patch

  • Making a vowel: set F1 and F2 per vowel and get those right first. Add F3 when you want an "r" or a sharper "ee".
  • Making it sound like a voice: keep the upper peaks, and don't move them with the vowel. A fixed F4 and F5 is closer to a real head than one that jumps around.
  • Feed the peaks something rich. A sine wave per formant gives you the words and the whistle. A voice is a buzz full of harmonics going through broad resonances, so a saw or a pulse running through resonant filters gets you much closer than more sine waves would.

Two roads to a synthetic voice

The video mentions 1961, and it's worth knowing that the singing computer of that year took the other road. John Kelly and Carol Lochbaum at Bell Labs made an IBM mainframe sing "Daisy Bell" with a model of the vocal tract itself, a chain of short tubes, with Max Mathews programming the accompaniment. They didn't place the peaks. They built the tube and let the peaks fall where a tube puts them.

Those are still the two ways in. Formant synthesis places the peaks directly, which is what three sine waves, a wavetable of vowel frames or a bank of bandpass filters all do. Physical modelling builds the tube and gets every formant for free, including the high ones that say whose voice it is. Placing the peaks is easier to play with, and building the tube is harder to control but gets you the whole set of resonances at once.

Five vowels, or twelve?

Undulae's patch steps through five stopping points, "Ah, ay, ee, oh, ooh", and five is a good set to start from: it's the whole vowel system of Spanish or Japanese. English uses more. James Hillenbrand's 1995 study, a widely used set of American English vowel measurements, recorded twelve of them, from "heed" and "hid" to "hood", "hud" and "heard". If your own patch morphs between five and doesn't quite say the word you hoped for, the vowel you need may be one of the other seven.

In Vowel Blender

Vowel Blender, the vowel plugin I designed, works with four formants per vowel: four resonant bandpass filters side by side, and ten vowels on its pad (i, ɪ, ɛ, æ, ɑ, ʌ, ɔ, o, ʊ, u). It's an effect, so it shapes whatever you feed it and makes no tone of its own. The manual says a pure sine wave won't give you a vowel: the filters need harmonic content above 1 kHz to work on. Put it on a pad, a held synth note or a sustained vocal.

Its own tables show the pattern from above. In the Man 1 voice model (Peterson and Barney's 1952 measurements, with F4 taken from the plugin's Hillenbrand-based tables, since Peterson and Barney measured three formants), "ee" sits at 270, 2290, 3010 and 3657 Hz, and "ah" (ɑ) at 730, 1090, 2440 and 3687 Hz. F2 moves by more than an octave between the two, and F4 by 30 Hz. Across all ten vowels of that model, F4 stays between 3357 and 3687 Hz, about a semitone and a half. In Man 3, built from Gunnar Fant's values calculated from X-rays of a single vocal tract, F4 sits at 3300 Hz for nine vowels out of ten.

The four formants of the vowels ee and ah in Vowel Blender's Man 1 voice model, on a log frequency axis: F1 and F2 move far apart between the two vowels, F3 moves a little, and F4 stays within 30 Hz
"ee" and "ah" in the Man 1 voice model. The low peaks make the vowel, the top one barely moves. Tap to open full size.

Three things to try:

  • Same vowel, different person. Open CHARACTER and switch VOICE MODEL (seven choices, Man 2 by default) while the pad stays on one vowel, and you keep the vowel with a different speaker.
  • The size of the head. SHIFT moves all four formants by the same ratio, from -12 to +12 semitones (0 by default), so the vowel stays while the head grows or shrinks.
  • The spacing above F1. SIZE leaves F1 where it is and spreads or squeezes F2, F3 and F4 above it (0.5 to 2.0, 1.0 by default). Since F2 moves too, the vowel drifts with it: it's a sound design control more than a change of speaker.

There's no control for soloing or removing a single formant: the four always work together. If you want to hear what three sine waves do on their own, a synth with three sine oscillators and the numbers above will get you there in a few minutes.

Frequently asked questions

How many formants do you need to recognise a vowel?
Two, F1 and F2, place most vowels. A third helps with sounds that live in F3, like the American "r" or rounded front vowels. Formants above that change little from vowel to vowel and carry more about the speaker than about the vowel.

Can you understand speech made of sine waves?
Yes, often, once you know it's speech. Sine-wave speech replaces each formant with one sine wave that follows it. Remez, Rubin, Pisoni and Carrell showed in 1981 that listeners can understand sentences made this way, even though it sounds like whistles.

Why does my formant patch sound robotic?
Usually because the source is too simple, the peaks are too narrow, or the higher formants are missing. A voice is a harmonic-rich buzz going through broad resonances, with upper resonances that stay put from vowel to vowel.

Do formants move with the note you sing?
Not in proportion to it. They belong to the shape of your vocal tract, which is why keytracking formant filters makes a different sound from a voice. More on that in How to Make a Synth Sound Like a Voice.

How many vowels does English have?
More than five. Hillenbrand's 1995 measurements of American English cover twelve vowels.

Sources

Joy to use, joy to hear.

Ben, UB DSP