AI Avatar
IDLEAI Tutor Conversation
Click "Read Aloud" on any response or synthesize the entire conversation with Piper TTS.
How does neural text-to-speech work using ONNX voice models in Piper?
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.
Can I switch to different voice models or languages without changing the application code?
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.