Re: advice: program to generate sound from characters



On Jul 30, 4:42 pm, Sam <s...@xxxxxxxxxxxxxx> wrote:
babaji writes:
Hello all :-) ,
Could someone please help me with a little bit of
advice.

I am planning to write a program which would take as input characters,
say a-z and would output a wav/mp3 file to represent them. e.g. input-
"myname" output-> an mp3 file where a tone will be played for say
0.5 sec to represent each character.

I have searched for packages and have come up with a lot of results. I
am a little overwhelmed by the complexity of some of the packages for
text to speech and the like. Could someone please suggest a simple
program/library which I could use to convert a letter to a tone and
get a wav/mp3 file as output.

This requires some programming on your part. This is a very specialized
situation. It's unlikely that there's a gizmo somewhere that will do this
all for you. You'll need to supply some programming yourself.

I plan to use the program as a command line utility to convert small
chunks of text to tones.

You'll have to write this program by yourself. The audio library that I'm
familiar with, libsndfile, will let you write a program that generates a
.wav file, using raw data that you provide. You'll have to write a program
that takes a letter, generates an appropriate waveform, and let libsndfile
handle the details of formatting your raw data into a properly-formatted
.wav file.

application_pgp-signature_part
1KDownload
Thanks for the reply, much appreciated. I will look at this library.

-A
.