← All plugins

Vocalis

Offline text-to-speech

Built for Unity 2021.3 LTS+C# APIOffline

Generate natural-sounding speech from text locally with no internet dependency. Output directly to an AudioSource, generate an AudioClip or export generated content through SonicLoad for downstream workflows.

Vocalis plugin cover

SOURCE PREVIEW

A look at the code behind Vocalis

Assets / Denisitree / Vocalis / Runtime / VocalisSpeaker.cs
C# · UTF-8 · Unity 2021.3+ · 0 lines

Quick start

Use the API in a Unity scene.

  1. Add the VocalisSpeaker component to a GameObject.
  2. Assign the AudioSource target and choose the voice ID, speed and pitch.
  3. Call SynthesizeAsync or SpeakAsync from a script when a line needs to be spoken.
Read the docs Contact

What it does

Local voice generation for sound design, narration and dialogue systems.

Realtime synthesis

Stream generated speech as text is converted into audio, suitable for adaptive dialogue or live narration.

AudioClip output

Produce ready-to-use Unity audio assets or runtime clip output for dynamic scenes and gameplay events.

Speech controls

Adjust pitch, speed and voice styles to fit game tone, character personality or accessibility workflows.

Voice library

Use multiple multilingual voices from a local library designed for modular games and localization.

Export-ready

Layer it into SonicLoad export flows or internal asset pipelines for recording and serialized playback.

UnityEvents

Trigger speech generation from gameplay events, story flow or editor scripts using C# callbacks and Inspector bindings.

Planned API

API preview, subject to change.

Denisitree.Vocalis
using Denisitree.Vocalis; using UnityEngine; public class DialogueVoice : MonoBehaviour { private SpeechSynthesizer synthesizer; private async void Start() { synthesizer = new SpeechSynthesizer(); synthesizer.Voice = "en-US-voice-01"; synthesizer.Speed = 1.0f; synthesizer.Pitch = 0.0f; var clip = await synthesizer.SynthesizeAsync("Welcome to the outpost, traveler."); var source = GetComponent<AudioSource>(); source.clip = clip; source.Play(); } }

Planned platforms & requirements

Runtime plans and expected requirements.

CategoryPlanned support
PlatformsWindows, macOS, Linux, Android, iOS
UnityUnity 2021.3 LTS+
Output targetsAudioSource, AudioClip, export via SonicLoad
Voice optionsLarge multilingual voice library with style tuning
GenerationAsync synthesis and streaming-ready architecture

Works well with

Pair it with the rest of the Denisitree toolkit.

Roadmap

Current focus for Vocalis.

Core buildSpeech synthesis core and local model integration.
Private alphaVoice control, export pipeline and playback quality tuning.
Public betaMultilingual voice library and Unity inspector improvements.

Screenshots

Concept visuals for the local speech workflow.