On-Device Text to Speech SDK

High-quality voice output for assistants, command confirmation, and conversational products that need more than a basic voice prompt

DaVoice text to speech is an on-device TTS SDK. It turns text into natural speech on the phone, computer, browser or embedded device, with no network round trip and no per-character or per-token cloud fees. It offers several voices per language, expressive speaking styles and voice cloning, and is available for iOS, Android, React Native, Expo, Flutter and the web.

How DaVoice Text to Speech Fits into the Voice Pipeline

Text to speech is most useful when it works as part of a complete interaction loop. After wake word detection and speech recognition, the product needs to speak back clearly, avoid stepping on microphone capture, and then return to listening in a controlled way.

DaVoice is built around that orchestration. TTS is not treated as an isolated output engine, but as part of a broader voice experience that includes audio session handling, model selection, and transition logic between listening and speaking.

That makes it suitable for assistants, embedded flows, accessibility products, and branded voice experiences that need a natural voice response path.

Key TTS Capabilities

Natural Voice Output

Human-like spoken responses for commands, confirmations, guidance, and conversational experiences, with several voices per language.

Generated on the Device

Speech is synthesized on the phone, computer, browser or embedded device, so there is no network round trip and no dependence on connectivity.

Expressive Speaking Styles

Style tags such as [whispering] or [drill sergeant] change how a line is delivered, without recording new audio.

On-Device Voice Cloning

Give your product a distinctive branded voice. The cloned voice becomes a compact model that runs on the device like any other DaVoice voice.

Learn about voice cloning →

Languages and Voices

The free browser playground includes these languages, with 4 to 8 voices each:

  • English
  • Brazilian Portuguese
  • German
  • Greek
  • Spanish
  • French
  • Italian
  • Dutch
  • Danish
  • Swedish

Need a different language or a branded voice? Tell us what your product needs.

On-Device vs Cloud Text to Speech

DaVoice on-deviceTypical cloud TTS
Where speech is generatedOn the user's deviceOn remote servers
Network neededNo, once the voice is on the deviceYes, for every response
Running costNo per-character or per-token feesBilled per character, token or minute
PrivacyText never leaves the deviceText is sent to the provider

More on the cost model in token-free text to speech.

Supported Platforms

Text to Speech Code Examples

Both SDKs need a DaVoice license key before they load or speak.

React Native

import Speech from 'react-native-davoice/speech';

await Speech.setLicense(licenseKey);
await Speech.initAll({ locale: 'en-US', model: voiceModel });

// text, voice (speaker id), speed
await Speech.speak('Your table is ready.', 0, 1.0);

Web (browser)

import { TextToSpeech } from 'web-wake-word-cpu-gpu-opt';

const tts = new TextToSpeech();
if (!(await tts.setLicense(licenseKey))) {
  throw new Error('Invalid or expired license key');
}
await tts.init('/tts-models/en/model.dm', { wasmBasePath: '/dist/' });
await tts.speak('Hello from DaVoice.');

Common Use Cases

  • Voice assistants and conversational agents
  • Accessibility experiences and hands-free confirmations
  • Automotive and embedded voice guidance
  • Healthcare, enterprise, and workflow read-back
  • Branded consumer apps that need a distinctive voice

Text to Speech FAQ

What is on-device text to speech?

On-device text to speech (TTS) turns text into spoken audio on the phone, computer, browser or embedded device itself, instead of sending the text to a cloud voice service. It responds without a network round trip, keeps the text private and has no per-character cloud fees.

Does DaVoice text to speech work offline?

Yes. Once the voice is on the device, speech is generated locally, so it keeps working without a network connection. That suits vehicles, kiosks, medical devices and apps used in low-connectivity places.

Does DaVoice charge per character or per token?

No. Because speech is generated on the user's device, there are no TTS tokens, generated characters or cloud minutes to bill. Cost does not grow every time your product speaks. DaVoice offers free evaluation and commercial licensing for production.

Which languages and voices are available?

The browser playground includes English, Brazilian Portuguese, German, Greek, Spanish, French, Italian, Dutch, Danish, Swedish, with 4 to 8 voices per language and expressive style tags (not yet in Greek, Danish and Swedish). Tell us which languages and voices your product needs.

Can I clone a voice for my product?

Yes. DaVoice supports on-device voice cloning, so your product can speak in a branded or personalized voice that runs locally. Voices, including cloned voices, are licensed by DaVoice.io for use in your product under a commercial agreement.

Can DaVoice text to speech run in a web browser?

Yes. The Web SDK generates speech in the browser on the visitor's device. The free playground lets you hear it without signing up. Each language is a one-time download of about 130 to 145 MB in the playground.

Which platforms does DaVoice text to speech support?

React Native and Expo (iOS and Android), Flutter (iOS and Android) and the Web. Example apps are available on GitHub. Contact us if you need another platform.

How does text to speech work with wake word and speech to text?

DaVoice coordinates the whole voice loop: it pauses recognition while the product speaks, avoids audio conflicts, then returns to listening for the wake word or the next request. In the voice agent SDK, replies are spoken sentence by sentence as they are generated.

Related

Interested in Text to Speech for Your Product?

Contact us to discuss on-device TTS, branded voice output, and full integration with wake word and speech recognition flows.