Product
Pricing
Resources
Request a Demo
1 min read

Generate audio when the blog is published

Engineering
Listen to this blog

TL;DR
This is better for your FusionSuite blog because you generate the audio once. Every visitor then plays the already-generated audio instead of calling the TTS API every time. The reading time can be calculated automatically from the blog’s word count, while the audio duration can be obtained from the generated audio. Which TTS service? For […]

This is better for your FusionSuite blog because you generate the audio once. Every visitor then plays the already-generated audio instead of calling the TTS API every time.

The reading time can be calculated automatically from the blog’s word count, while the audio duration can be obtained from the generated audio.

Which TTS service?

For a production implementation, we can use a TTS API such as OpenAI, Google Cloud Text-to-Speech, Amazon Polly, or ElevenLabs.

Since you’re already working with a PHP WordPress custom theme, I can give you the complete implementation specifically for your setup:

WordPress PHP → TTS API → MP3 → WordPress Media/Uploads → Blog Details Player

including the WordPress hook that automatically generates the audio whenever a post is published/updated, and the frontend audio player.

Full SQA Power, Now in Your Pocket

Your QA work doesn't stop at your desk, and neither does FusionSuite. Report bugs, review crashes, and analyze feedback from anywhere.

Explore FusionSuite