Text To Speech - Audio for your Websites!

blog cover image
22
33
673 followers

Yesterday I promised to upload a tutorial on how to create an audio file from text. Amazon was my first choice and I had a decent draft almost ready but people chose Google Cloud Service.

Honestly, I didn't have the time to prepare this version the way I like but a promise is a promise and I hope posting a preview should temporarily satisfy curious minds.

What I will show is how to create a mp3 file that can be uploaded to your WP media library reading any short text.

Google Cloud TTS

This is a page where you can test the service.

  • Open the URL in Chrome
  • Insert your own text
  • Select the language locale
  • Click Speak It (or Replay)
  • Play with the parameters until you get a natural as possible result

Change the Language/locale according to your preferences and try different Voice name settings.

Now open the inspector right-clicking on the page (or with Ctrl-Shift-I)

On the Inspector pane go to Network and click on Media

Click the button Replay and notice what happens in the right-pane. A new row shows up.

Right-click on that row to open a popup menu.

Click on Open in new tab

And voila! a player with the audio content lets you save the file. The default name is download.wav but you should rename it before saving. Almost there, we have the file in our PC. However, there's another step involved...

WAV vs MP3

The file you've just saved is in WAV format but it's almost 10 times bigger than a MP3 with the acceptable quality for a website. So the last step will be to convert the WAV file to MP3.

Google 'convert mp3 to wav online'. There are many websites that you can choose from.

Example Tool

I chose an audio quality of 128 kbit/s but for voice you can use less quality for a smaller file size.

Listen to my sample audio MP3

I'll be happy to get your feedback. It will definitely help me to prepare a better tutorial on this topic.

Cheers

22
33

Join FREE & Launch Your Business!

Exclusive Bonus - Offer Ends at Midnight Today

00

Hours

:

00

Minutes

:

00

Seconds

2,000 AI Credits Worth $10 USD

Build a Logo + Website That Attracts Customers

400 Credits

Discover Hot Niches with AI Market Research

100 Credits

Create SEO Content That Ranks & Converts

800 Credits

Find Affiliate Offers Up to $500/Sale

10 Credits

Access a Community of 2.9M+ Members

By continuing, you agree to our Terms of Service and Privacy Policy
No credit card required

Recent Comments

33

Lot of information. Have to bookmark and come back. Thank you for the share.

1

Thanks for your comment, Michael. Glad you find it useful.

Amazing, my stars!
You could make a video, I enjoy this blog and I like the Speaksee Idea for people with hearing impairment. Anytime we work with different modes and styles of communication, the more people we reach.
You are wonderful for sharing this, I am thinking about trying it:)
Nurse Becca

2

Thanks for your comment, Rebecca!
Providing audio on web pages has multiple benefits for visitors but also for SEO.
Cheers

1

Thanks for sharing this, Richard. I’ve tagged this for easy reference later.

2

Thank you, Stephen! I'm glad you like it!
Cheers

1

Thanks a lot Richard. Bookmarked!

2

Hi, Fran. I still owe you my tutorial. It's still a draft, I wanted to explore SSML optimizations to include.
Thanks for your support (and your patience)

2

You don't owe me anything, my friend. I'm happy to assist. Take your time, I'm sure everyone will appreciate it when it's done.

2

Thank you, my friend!

1

Thanks for sharing you knowledge and research.

3

Thanks for your kind words, Donald.

Thank you Richard!

2

You're welcome, Murray!

1

Hey Richard - that's actually pretty darn good! :-)

It's not as half robotic as some speech and the inflections are pretty good, too.

Amazing!

Ian

3

Yes, Ian. And it's much easier to tweak until you are satisfied. I still haven't explored the potential of the SSML optimization.
Thanks for commenting.
Cheers

Richard

2

Great! I look forward to your further reports :-)
Ian

1

Awesome! I'm going to test it for the therapies
I'm doing with my little patient!

Really great!
Thanks little genius!
Ingrid

3

Wow! That's great, Ingrid! I'll be working on the tutorial and I may have new stuff that you may find helpful soon.
Little? I'm 6 ft 3 ;-) hahahahaha

1

Great, great!
Keep on working because it's very useful for me.
I tried it today with a family who lives too far away to
come to therapy in my office and that helped us a lot.

You are like a genius who came out of my bottle!!

Thank you so much!
Ingrid

1

Your encouragement and your kind feedback are priceless.
Thank you, dear Ingrid!

1

Good Morning Richard,

This has to go to my Technical Manager as I am not good with these kinds of things.
This is not your voice, is it? because it does not go with your picture.
I wonder if my gravatar picture on my website could say something like Hello, everybody, welcome to my site. No, I think I better shut up.

Greetings from the south of Spain, Taetske

2

There are so many technical things to take care of that the best option is to outsource...
That voice is the result of the example I posted.
To play audio clicking an avatar is easy if you know Javascript.
I may create a tutorial if enough people manifest interest.
Cheers

1

😆

1

Excellent, thanks so much for this. Another cool idea I’d like to put into practice, but it’ll have to go to the bottom of the list for now :)

2

Thank you, Heidi! I'll keep updating this.
Cheers

See more comments

Join FREE & Launch Your Business!

Exclusive Bonus - Offer Ends at Midnight Today

00

Hours

:

00

Minutes

:

00

Seconds

2,000 AI Credits Worth $10 USD

Build a Logo + Website That Attracts Customers

400 Credits

Discover Hot Niches with AI Market Research

100 Credits

Create SEO Content That Ranks & Converts

800 Credits

Find Affiliate Offers Up to $500/Sale

10 Credits

Access a Community of 2.9M+ Members

By continuing, you agree to our Terms of Service and Privacy Policy
No credit card required

2.9M+

Members

190+

Countries Served

20+

Years Online

50K+

Success Stories

The world's most successful affiliate marketing training platform. Join 2.9M+ entrepreneurs building their online business with expert training, tools, and support.

© 2005-2025 Wealthy Affiliate
All rights reserved worldwide.

🔒 Trusted by Millions Worldwide

Since 2005, Wealthy Affiliate has been the go-to platform for entrepreneurs looking to build successful online businesses. With industry-leading security, 99.9% uptime, and a proven track record of success, you're in safe hands.