AI Avatar

IDLE
0:00
0:00
Loaded Model en_US-lessac-medium
Sample Rate 22,050 Hz (16-bit PCM)
Engine ONNX Runtime (CPU Fast Math)

AI Tutor Conversation

Click "Read Aloud" on any response or synthesize the entire conversation with Piper TTS.

Student 10:42 AM

How does neural text-to-speech work using ONNX voice models in Piper?

AI Tutor 10:42 AM

Piper converts text into phonemes using espeak-ng, then predicts acoustic features using a lightweight VITS neural network exported to ONNX format. ONNX Runtime runs optimized math operations on your CPU, delivering natural-sounding speech in real time with ultra-low latency.

en_US-lessac-medium
Student 10:43 AM

Can I switch to different voice models or languages without changing the application code?

AI Tutor 10:43 AM

Yes! You can drop any Piper ONNX voice file and its accompanying JSON metadata into the models directory. The server discovers and caches models dynamically on demand, allowing you to switch voices instantly via the API or user interface.

en_US-lessac-medium
Voice: