question on creating an mp3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is off topic I know, but I have a question regarding how to perform 
a certain task.

I have an Archos on which I've installed Rockbox. Now I want to use the 
freature that allows for speaking file names.
I have to create what are called mp3 clips or voice clips which the 
Rockbox software will read.
In any even t here's the question

I've got a directory of files, I want to take each name of a file and 
put it into a separate mp3 file, i.e. song1.mp3 would have a file called 
song1.talk associated with it.
Now I will use the DECtalk software to do this. I will have say speak 
the file name and then pipe that using a simi colon into sox to make a 
wav or mp3 file whichever.
In any case the problem is I'm not so sure how to feed say each file 
name. I suspect using a loop statement (if that's the correct term) in a 
script that would feed the file names from ls into say and on from 
there.
My thought was along these lines and any help appreciated. Not a Bash 
expert.

for I in
do
ls $i | say input file opton using $i to get the file name, then perform 
the piping action and get the output desired, and finally loop to the 
next file.

How to do this I am not sure, but I know someone out there may have the 
answer or has done this. Any rtfming I can do I'm happy to do just let 
me know where I could get a crash course. I'm going on a trip shortly 
and wanted to get this done before I head out.

tnx

Scott





[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux