Re: advice: program to generate sound from characters



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.

Attachment: pgpJFndiv9n9n.pgp
Description: PGP signature



Relevant Pages

  • Re: advice: program to generate sound from characters
    ... say a-z and would output a wav/mp3 file to represent them. ... .wav file, using raw data that you provide. ... that takes a letter, generates an appropriate waveform, and let libsndfile ...
    (comp.os.linux.misc)
  • advice: program to generate sound from characters
    ... 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. ... I have searched for packages and have come up with a lot of results. ... program/library which I could use to convert a letter to a tone and ...
    (comp.os.linux.misc)