Skip to main content

How to Convert Text Into Audio or MP3 Sound

Few days earlier, when I was creating a video for my YouTube channel I found it really interesting to add a sound clip narrating the user seeing the video. After lots of searching, I found two ways to convert text into mp3 sound. You can easily do it without any hassle. You'll also like to know how to add image cover in songs.

How to Convert Text Into Audio or MP3 Sound

You can use any text and this trick will narrate it. If you will use the first method than you will require Notepad (preinstalled in your OS) and a sound recorder that will record the audio for you. Second method is very easy, you will use Google Translate API to convert texts and characters into mp3 sound.

The sound will be heard like the human voice and you will be able to understand it very easily. Getting excited to know this cool trick? Just keep reading and explore the trick.

First Method
As I said first will require you to open Notepad. In this method you will be creating a small program that will convert text into audible sound in human voice. You can record the sound clip if you like. Let's now see the trick.
  • First, open Notepad and add the following code on it.
Dim msg, sapi

msg=InputBox("Enter your text to convert Audio: ","Text to Audio Converter: Ashish")

Set sapi=CreateObject("sapi.spvoice")

sapi.Speak msg
How to Convert Text Into Audio or MP3 Sound
  • Now click on File located in the top left corner.
  • After that click on Save As.
How to Convert Text Into Audio or MP3 Sound
  • Choose All Programs from the Save as Type drop down.
  • Save the file as VBS format. Just name the file audio.vbs and click Save button.
How to Convert Text Into Audio or MP3 Sound
  • Now locate the folder where you saved this file (audio.vbs file if you're following this tutorial).
  • Double click the file to open it.
  • Add your text in the available text area and click OK.
  • Now your Computer will read the written text for you.
If you're not able to record the audio from the small program created using Notepad than follow the second method. This method is much easier.

Second Method
In this method, we will use Google. You will only need to write your text in the URL and you will get that text and word as a mp3 file. Looks complicated? I will explain you how to do this. I will also tell you how can you insert a Form or Input box in your site to make easy to convert any text into audio.

Let us first know how to convert your text file into audible mp3 sound using Google API.
  • Take a look at the URL below.
https://translate.google.com/translate_tts?tl=en&q=Hello+World
  • We will use the above given URL to convert our text file into audio. If you want to see the demo than go to the above given URL. After going on the above web address, you will get an mp3 file which contain the sound clip saying Hello World.
  • Now lets know how to use this to convert our own text into audio file. Take a look at the URL again.
https://translate.google.com/translate_tts?tl=en&q=Hello+World
  •  Replace the text highlighted with red color with your own text. The Blue Plus (+) is for space. If you want to convert Welcome to Spicy Tweaks into mp3 file than you will add the text as welcome+to+spicy+tweaks and after that load the URL in your browser and mp3 file containing the text converted into audible sound.
  • That's It! If you followed the above steps carefully than you should have converted your text file into audio sound.
Note: You can only use 100 characters in the Google Text to Audio API. There are many other ways to convert text to audio file. Search for it on Google and you will find one which is little better than this one.
If you want to add an Input box in your website or weblog than use the following code.
<form method="get" action="https://translate.google.com/translate_tts?tl=en">

 <textarea name="q"></textarea>

 <input type="submit" value="Text-To-Speech"></input>

</form>
Finished! I hope you're enjoying this trick to convert any text into audible mp3 sound. If you need any help than feel free to drop a comment below. Keep visiting for more tricks. You can also subscribe to our free Newsletter.

Comments

Post a Comment

Popular posts from this blog

Need for Speed (NFS) Carbon Cheats, Codes and Unlock Parts

Need for Speed makes some great racing games like NFS Most Wanted, Rivals etc. and Need for Speed Carbon is another 10th addition to their NFS series. It's the first game to get the PEGI rating 12+. It's a very good game with it's story line. If you are looking for some adventure and a good racing than this one will be in your game list. While playing the game you will face some difficulty in completing this game. And from than onwards you may look some cheat codes that can help you in completing NFS carbon. And to make it easier for you here is the list of some working cheat codes and trainer. But you proceed to know about cheats and tricks for Need for Speed Carbon you would like to know the adventurous story of the game. So let's start. The game is set in the fictitious city of Palmont. Soon after the player leaves the Rockport City ( remember jumping of an old bridge in last scene of NFS Most Wanted) the player drives on a route to Palmont city with his BMW ca...

How to Watch Any TV Show or Movie on Kodi

Kodi is a cross-platform media center solution developed by XBMC/Kodi Foundation, a non-profit technology association. Kodi which was previously known as XBMC has been growing rapidly from last few years. While the application offers to play local media files, but, it has plethora of third party add-ons, which, we can use to increase it's usefulness. In this post, you'll learn the process to install Indigo and Exodus on Kodi 18 (64-bit). The process is similar on version 17 of this app, however, I haven't checked the previous versions. Note : Streaming copyrighted content is illegal, nevertheless, it's completely legal to use Kodi for viewing the content you've purchased. First, we'll need to add Indigo Installer. Follow the following steps to know how to do it: Open Kodi . Click on the Gear button (settings). Select File Manager . Double Click on Add Source . Click on <None> ... ...type  http://fusion.tvaddons.ag and...

Top 5 Alternatives to Extratorrent

In an unforeseen move, Extratorrent decided to shut down few months ago. It was one of the most popular torrent site, but now users who visit it's homepage are greeted with a message which clearly states they are not going to return in the future. Now that they are gone, various clone sites such as extratorrent.cd has been setup to squeeze money from the confused visitors via its advertisements. People visiting these clone sites should know that the original ExtraTorrent owners have deleted all data, and none of the impostors have access to the old ExtraTorrent files. There are many alternatives out there. You just need to look at the right place. Take a look at the following original torrent sites which might entice you. 1337x.to 1337x is probably the best designed torrent site you'll ever come across. Although it lacks the ExtraTorrents' rating system, nonetheless, most of the contents are verified by moderators. The site has easy-to-navigate subsections whic...