
How text-to-speech works
A text-to-speech system does two jobs. First it prepares the text: abbreviations are written out, numbers turned into words and the stress of each sentence is set. “CHF 1'250.–” must become “one thousand two hundred and fifty francs”, “Di., 8.15” must become “Tuesday, a quarter past eight”. Then a model generates the sound wave from it.
In the past, systems strung recorded syllables together or generated the sound using formulas. That sounded choppy. Today’s systems are based on neural networks that have learned from many hours of speech recordings how a voice sounds. They produce pauses, intonation and even breathing sounds. For German, French and Italian there are now many high-quality voices.
- Normalise the text
Put numbers, dates, amounts, abbreviations and foreign words into a speakable form.
- Pronunciation and stress
Set the sounds, plan sentence stress and pauses, stress questions differently from statements.
- Generate the sound
A neural network calculates the sound wave in the chosen voice.
- Play or stream
In a conversation, the sound already plays while the rest of the sentence is still being calculated.
Device voice or AI voice from the cloud
Every mobile phone and every computer has built-in voice output. It runs on the device, costs nothing and also works without the internet. In addition, there are cloud services that offer particularly natural voices. Which variant suits you depends on the use.
| Device voice | AI voice from the cloud | |
|---|---|---|
| Sound | Understandable, sometimes a little artificial | Very natural, with expression |
| Internet | Not needed | Needed |
| Costs | Included in the device | By characters or minutes |
| Data flow | Text stays on the device | Text goes to the provider |
| Typical use | Reading aloud, navigation, accessibility aids | Voice assistants, explainer videos, telephony |
For a voice assistant in conversation, the waiting time until the first sound is decisive. Even a one-second pause after each question feels sluggish. Providers state latency values for this, meaning the time until the first audible word. Ask about them and test the voice in real use, for example on the road with weak mobile reception: that is where you find out whether a conversation feels fluent.
Custom voices, voice clones and the law
Many services can replicate a voice from just a few minutes of recording. That is practical for explainer videos in the owner’s voice, but it carries risks. The same technology is used to create deepfakes, such as fake calls from the supposed boss. A voice is a personal characteristic. Anyone who replicates a person’s voice needs their consent.
In Switzerland, the Federal Act on Data Protection (FADP, in German DSG) applies: voice recordings are personal data. If a voice is used to identify a person unambiguously, it is biometric data and therefore sensitive personal data [1]. For synthetic voices in your own advertising, a written agreement with the speaker is advisable.
Multilingual reading aloud in Switzerland
In Switzerland, many businesses work across language borders. Voice output therefore often has to handle not only Standard German but also French and Italian, sometimes in the same sentence. An appointment “bei Boulangerie Exemple in Bienne” sounds wrong if a German voice pronounces the French company name the German way.
Modern multilingual models recognise the language of individual words better than earlier systems, but not completely reliably. It helps if an application adapts the language of the answer to the language of the person currently speaking and tags company names from its own data with the right language. Numbers and amounts also need attention: “1'250.50” should be read as francs and centimes, not as a date or as an English thousands separator.
Use in the business
- Listen instead of reading on the go: have appointments, open tasks or a note on the next customer read aloud while driving.
- Answers from an assistant: a voice assistant answers audibly so that you do not have to look at the display.
- Accessibility: making websites and documents accessible to people with visual impairments or reading difficulties.
- Telephony: announcements and phone bots that greet and forward callers.
Pay attention to the pronunciation of technical terms and names. Swiss place names, company names and terms such as “Akonto” (payment on account) or “Regie” (time and materials) are sometimes stressed wrongly by voices trained mainly on texts from Germany. Many services allow pronunciation rules for individual words.
Consider the surroundings too. In an open-plan office, on the train or at a customer’s home, an answer read aloud with customer data is not always appropriate. An application should therefore make it easy to switch off voice output and show the same answer as text. Headphones or the hands-free system in the vehicle are the most convenient solution on the road.
A practical example
Example: refrigeration service technician in Valais
A service technician at the fictitious Kältetechnik Muster AG in Visp drives to several restaurants and hotels every day. Before each stop he asks his voice assistant: “What is open for the next customer?” The answer comes as a spoken sentence: two open tasks, one unpaid invoice and a note that the customer speaks French.
Without voice output, he would have to look at his phone in the vehicle. With text-to-speech, his eyes stay on the road and the information is still there when he gets out.
Invented example.
How VoxCRM helps
yesVox answers audibly. In conversation, a natural voice from a specialised speech service speaks. In economy mode in the browser and offline in the Mac app, your device’s built-in voice speaks, without any text being sent to a voice service. Answers can also simply be read. More under Vox.
