Live mic input
Capture speech in real time and stream partial results to the Unity scene or game logic.
VoxScribe
Convert speech to text fully offline using Whisper-based models. Process microphone input or any AudioClip, buffer or stream into transcripts and translations with partial streaming events for real-time gameplay or chat experiences.

SOURCE PREVIEW
Quick start
What it does
Capture speech in real time and stream partial results to the Unity scene or game logic.
Process recorded or imported AudioClip sources, byte arrays or raw buffers generated elsewhere.
Translate spoken content into multiple languages using language auto-detect and model selection.
Send partial transcript updates as they arrive through UnityEvent or C# delegate callbacks.
Choose model size depending on device power, latency target and desired accuracy.
Integrate directly into gameplay systems, editors and tool windows using familiar Unity event patterns.
Planned API
using Denisitree.VoxScribe;
using UnityEngine;
public class VoicePrompt : MonoBehaviour
{
private VoxScribeRecognizer recognizer;
private void Start()
{
recognizer = new VoxScribeRecognizer();
recognizer.OnPartialResult += text => Debug.Log($"Partial: {text}");
recognizer.OnFinalResult += text => Debug.Log($"Final: {text}");
recognizer.Language = "en";
recognizer.StartMicrophone();
}
}
Planned platforms & requirements
| Category | Planned support |
|---|---|
| Platforms | Windows, macOS, Linux, Android, iOS |
| Unity | Unity 2021.3 LTS+ |
| Model types | Whisper-based local models, tiny to large |
| Input sources | Microphone, AudioClip, raw WAV/PCM buffers, byte arrays |
| Output | Streaming partial transcripts, final transcript, optional translation |
Works well with
Roadmap
Screenshots