Text to Speech Converter

I am going to create a text-to-speech converter that can be performed on both Windows and Linux systems. Can someone please help me answer the following questions:

  • Which language should I use; Java, C ++ or whatever?
  • The program I'm going to create should be able to read large chunks of data.
  • There should be good sound quality.
  • What are the available libraries for this?

Share your impressions.

+4
source share
4 answers
  • Use the language that suits you best. I studied hard when I tried to transcode my raytracer into C ++ based on the Python background. It took me weeks to make it function ...

    In principle, you will be disappointed in the nuances of the new language before you can code something, so I suggest you stick to what you know.

  • It is language independent. Just be sure to read the data in chunks (e.g. 2048 kilobytes at a time). Reading a large file in RAM is not a great idea, since you cannot be sure that your end user has enough RAM (audio files can get BIG).

  • This is trivial. I cannot help you with a good sound quality program. It is for you.

  • There are several implementations of TTS for Linux, so that is all I can recommend. Take a look at the Festival , as this is one of those that you can really understand.

+6
source

A long time ago, I had the same idea. I think this is not too complicated and can be done. Here's how I do it:

1 - I would use Java because it is platform independent.

2 - If you are going to create a stand-alone application, the local computer will not process the application server, as is the case with web applications. I also believe that your program will only be used by one user at a time. I think you will not have big problems with the volume data to process if you implement some kind of buffering mechanism.

3 - Sound quality will depend on various factors, such as: recording noise, formatting, sound speed ... Please note that many text applications that exist on the Internet, sound quality is in order, but you will never feel that it real person who reads. (I recommend you a female voice, it sounds better).

4 - As regards libraries and other gadgets, I think you might need:

-Java Standard Development Kit (to work with java)

-A good IDE: There are many things you can get for free. My favorite eclipse , but if you start with java, you can start with netbeans many say that it is more intuitive to learn.

- JLayer MP3 library This will help you play sounds in java.

- javax.swing Is a Java library that is included with the developer and allows you to create rich graphical user interfaces. Also, if you are new to the swing, I would recommend a great swing development environment called JFormDesigner , take a look at it, your development is many (it's a great tool).

Hope my answers can give you some advice.

Update

I think that it would be correct to also mention that the only minimum requirement that users of your application will have to run the application:

JRE (Java Runtime Environment)

+3
source

This text-to-speech project can be performed using the voice version of the computer, so there is no problem storing a database for each word and its pronunciation. Just use the language in which you feel like a master for yourself and apply the concept .....

+1
source

I know nothing about the text, except that it is not easy. That being said, I suggest you stick to the language with which you are most familiar. I'm sure Java and C can do this.

0
source

All Articles