The JK Jung Times
TECHNOLOGY

Adding Voice AI to a Mobile Game with Eleven Labs

How I integrated Eleven Labs' voice synthesis into Number Strike Baseball for dynamic commentary and opponent taunts.

By JK Jung, Staff Developer | Los Angeles Bureau | Thursday, April 16, 2026

Adding Voice AI to a Mobile Game with Eleven Labs

Number Strike Baseball is fundamentally a numbers game — guess the opponent's secret number, get feedback in strikes and balls. It's engaging but visually quiet. Adding voice commentary transformed the feel of the game from 'solving a puzzle' to 'being in a stadium.'

Before committing to Eleven Labs, I evaluated four voice synthesis options: Google Cloud Text-to-Speech, Amazon Polly, Microsoft Azure Speech, and Eleven Labs. Google and Amazon produce functional but robotic-sounding output that's fine for navigation apps but wrong for game commentary. Azure's neural voices were better but required significant configuration to achieve natural-sounding prosody. Eleven Labs won on quality — their voices have natural cadence, emphasis, and emotional variation that made game commentary actually feel like a human announcer.

Eleven Labs' API generates natural-sounding voice audio from text. We use it for three features: game commentary ('Two strikes! One more and you're out!'), opponent taunts in multiplayer, and tutorial narration for new players. Each serves a different purpose and

...

Tags: Eleven Labs, AI, Voice, Game Dev