Rime Labs

Coda V2: The most accurate pronunciation control in TTS

We tested six leading TTS models on PhonBench, a pronunciation benchmark we built from Wiktionary, with 1,500 words and names in six languages, each with a dictionary transcription and a native speaker's recording. Given the exact phonemes for each word, Coda V2 makes the fewest pronunciation errors of any model we tested.

Phoneme input lets you control how a word is pronounced when its spelling isn't enough, like brand names, personal names and specialized terms. A voice agent can get everything else right and still lose a caller's trust the moment it mispronounces their company's name. Modern TTS models, including Rime's Coda V2, accept phonemes so you can control exactly how a word should sound instead of leaving it to the model. We have now brought the same control to Prism, our full speech-to-speech system, the frontier of control for speech-to-speech. In this article, we put this control to the test, comparing how accurately leading TTS models follow a specified pronunciation when given phoneme input.

The results

We tested six leading TTS models that accept phoneme input (Rime Coda V2, ElevenLabs Eleven v4 and v4 Turbo, Cartesia Sonic 3.6, Murf Falcon 2.1 and Inworld TTS-2 Flash) on PhonBench, our pronunciation benchmark. Every model got the same target pronunciation for every word, written as phonemes. We transcribed each model's audio with ZIPA, an independent open-source phoneme recognizer, and compared the result with the target. The score, PFER, stands for phoneme feature error rate. It measures pronunciation errors at the phoneme level, weighting substitutions by phonetic similarity. For example, /b/ for /p/ is a smaller error than /s/ for /p/, while missing or extra phonemes count as full errors. A score of 0% means an exact phoneme match, and lower is better. Stress placement, accent, regional variation and voice quality are not scored.

Pronunciation error from phoneme inputPFER, % · lower is better · 1,500 words in six languages · whiskers: 95% CI5.3RimeCoda V26.2ElevenLabsEleven v4 Turbo6.4ElevenLabsEleven v46.7CartesiaSonic 3.67.1MurfFalcon 2.18.6InworldTTS-2 Flash

The upshot: Coda V2 has the lowest error overall and leads in English, French, Spanish and Portuguese. ElevenLabs is ahead in German and Italian.

LanguageRime
Coda V2
ElevenLabs
v4 Turbo
ElevenLabs
v4
Cartesia
Sonic 3.6
Murf
Falcon 2.1
Inworld
TTS-2 Flash
English3.55.65.45.26.25.2
German7.86.46.48.67.114.1
French3.94.64.75.85.27.7
Spanish2.32.52.94.65.24.4
Italian3.93.54.14.05.15.8
Portuguese (Brazil)10.415.015.412.513.714.5
All six languages5.36.26.46.77.18.6

By language, PFER in %, best in bold.

How we measured it

11,500 wordsdictionary IPA +a native recording2Same IPAin each provider'sphoneme syntax32 native voicesper system, onetake, no retries4Open judgeZIPA transcribes,we score vs dictionary

The words. PhonBench has 1,500 words and names in English, German, French, Spanish, Italian and Brazilian Portuguese. Each word comes from Wiktionary with its dictionary IPA transcription and a recording of a native speaker saying it, from Wikimedia Commons. The list mixes everyday vocabulary with place names and surnames, including many a TTS model might have never seen before.

One pronunciation for everyone. Every system got exactly the same dictionary IPA for every word, and the only difference is the wrapper each provider documents.

SystemWhat it received for Pluto
ElevenLabs Eleven v4 and v4 Turbo/ˈplutoʊ/ inline IPA
Cartesia Sonic 3.6<<ˈ|p|l|u|t|oʊ>> their phoneme markup
Inworld TTS-2 Flash/ˈplutoʊ/ inline IPA
Murf Falcon 2.1"/ˈplutoʊ/" inline IPA in quotes
Rime Coda V2" p l u . t oU the same IPA, converted automatically to X-SAMPA

Coda V2 accepts phonemes in X-SAMPA, a plain-ASCII spelling of the IPA, so nothing in a request needs special characters such as ʊ in /ˈplutoʊ/. The conversion is mechanical, symbol for symbol. We'll take a deeper dive into why we chose X-SAMPA and how we represent the sounds of each language in the next article.

Native voices. Each system spoke every word on its own, not inside a sentence, with two of its own native voices per language, one female and one male.

Seven independent judges. The transcriptions come from ZIPA, an open-source phoneme recognizer, and ZIPA produced every number above. To check that the ranking doesn't depend on a single judge, we re-scored Coda V2 against ElevenLabs Eleven v4 with six more open-source recognizers (POWSM, Allophant, Allosaurus, MultIPA, and Meta's wav2vec2 XLSR-53 and LV-60). All seven put Coda V2's overall error below Eleven v4's. We also ran ZIPA on the native speakers' own recordings. They score 6.7% PFER against the dictionary. This difference may reflect accent and regional variation among speakers, so the score is better understood as a measure of how closely a model follows the supplied pronunciation, rather than how closely it matches any single speaker's pronunciation.

A score that knows phonetics. For each clip, we compare ZIPA's transcription with the dictionary IPA provided to the model as its pronunciation target. First, we map both transcriptions to the same phoneme inventory for the language, removing stress and syllable markers. Then, we represent each phoneme using 24 articulatory features from PanPhon, which describe the articulatory and acoustic properties of speech sounds, such as voicing, place and manner of articulation, vowel height and backness, and lip rounding. Next, we align the two sequences using a weighted edit distance. Substituting a phoneme costs the share of its 24 features that differ from the target, while an insertion or deletion costs 1. Finally, we divide the total cost by the number of segments in the dictionary transcription to calculate PFER, averaged across both voices and all words. This means errors are weighted by how different the sounds are: /b/ for /p/, which differ in one feature, costs about 0.04, while /s/ for /p/, which differ in five, costs about 0.21.

Hear the difference

Some examples where Coda V2 performs well and the other models fall behind. Under the native speaker's clip is the dictionary IPA (with stress marking), the pronunciation every model was given as its target. Under each model's clip is the raw IPA output of ZIPA, the judge, exactly as it heard the clip.

WordNative speakerRime
Coda V2
ElevenLabs
v4 Turbo
Cartesia
Sonic 3.6
Murf
Falcon 2.1
Inworld
TTS-2 Flash
planerEnglish, word[ˈpɫeɪ̯nɚ][pleɪnə˞][pleɪnə˞][pleɪnə][pleɪnə˞][plænə˞]
NileEnglish, river[naɪl][naɪl][nioʊ][naɪl][naɪl][naɪ]
propperEnglish, word[ˈpɹɑpɚ][pɹɑpə˞][pɹɑpə˞][pɹɑpəi][pə˞æpə˞][pɹɑpi]
TransrapidGerman, brand[tʁansʁaˈpiːt][tɾansɾɑpiːt][tansʀɑpiːt][tɾansɾɑpit][tʀansʀɑːpiːt][tansɾɑpit]
RateGerman, word[ˈʁaːtə][ɾaːtə][ʀɑːtə][ɹeɪtɜ˞][ɾaːtə][pɑtə˞]
sahraouiFrench, word[saʁawi][saʁawi][saawi][saʁawi][saʁaɔvi][sahawi]
rapFrench, word[ʁap][ʁɑp][ʁat][ɹæp][ʁæp][hɑt]
BogotáSpanish, city[boɣ̞oˈt̪a][bogota][bogota][bojota][bokota][pwɔkwɔta]
guardaaguasSpanish, word[gwaɾð̞aˈaɣ̞was][gwaɾdaagwas][gwaɾdaagwas][gwaɾagawas][gwaɾdagwas][gwardaagwas]
scegliereItalian, word[ˈʃeʎːere][ʃeʎere][ʃælləʁə][ʃelere][ʃellere][ʃɛlerɛ]
aboliçãoPortuguese, word[aboliˈsɐ̃w̃][abolisɐ̃w̃][abolise][abolisan][abolisoʊn][aboɾisɐ̃w̃]
agudoPortuguese, word[ɜˈgudu][ɛgudu][zgudu][hergudu][tegudu][œɾbuːdu]

Switching is a drop-in

The simplest option is to use our pronunciation tool. Record yourself saying the word and get its phonemic transcription, no IPA or X-SAMPA knowledge needed. If you already have the IPA for a word, from any provider or dictionary, you have everything Coda V2 needs. Write the pronunciation in IPA, which we convert to X-SAMPA for you, or you can write in X-SAMPA directly. Coda V2 accepts it as a custom lexicon entry and applies it whenever the word appears in your text. Nothing else in your request changes. The phoneme control docs provide the custom lexicon format and a complete phoneme inventory for each supported language. Phoneme control now also works in Prism, our full speech-to-speech system.

Try it

What's next

For the first time, we're sharing the full story behind Coda V2's pronunciation control, from the linguistic foundations of phoneme representation and the preparation of training data to the architecture tweaks and training objectives that let Coda V2 excel at phoneme-level pronunciation while preserving its existing capabilities. In the next post, we'll take a step-by-step deep dive into how we brought it all together.