I can provide some sound files. The voice is not the greatest. Plus, there is no "eleven" or "twelve" file, which would be a problem for a saytime program. I got these files off a CD of public domain images and sound files. So if you want them, see http://personalpages.tds.net/~johnheim/sounds/clock/ I don't actually have a saytime program but what I do with these files is set up cron jobs to remind me of things. For instance, I have to leave by 5:10 or I'll miss my bus. So I have a cron job for 5:08 PM that plays 05.wav, O.wav, and 08.wav. So at 5:08 PM, my linux box says "five oh eight". Of course, it doesn't work if I'm not in my office. :-) ----- Original Message ----- From: "Doug Smith" <bdsmith@xxxxxxxxxx> To: "Speakup is a screen review system for Linux." <speakup at braille.uwo.ca> Sent: Wednesday, March 07, 2007 7:59 PM Subject: Re: OT: saytime program > What about this? Why don't you make your own files. You can make > them yourself, or have someone who has a voice you really like, make > them for you. > > All you need to do to make the files is use either the sox rec command > or arocord, whichever gives you the best results. When the files are > made, you can simply do this, and I will be glad to help you find the > logic to parse the results. > > Write a program or some kind of script that can do all of these: > > First of all, call the date command. This can be done in a shell > command with the exec "date" command or whatever it is, I would have > to play around for acouple of minutes to find out the exact command > structure. This would have to go into a variable which would be > parsed. > > The parsing logic is relatively simple, We can easily see, when we > use the date command, how many characters are used for each part of > the results. So the program would then have to: > > look through the string for the first, second, third, etc parts of the > results of the date command. Then all we would have to do is this: > > decide which files to play. We can do this by reading what the > results of our new parsed data variables tell us. You can have the > program do all of this, if you want. > > If you don't like the standard military time read-outs of date, the > program can simply subtract 12 from each hour starting at 1300 hours > or 1:00 PM, and the files could say the time in 12-hour format. > > That's all a talking clock, talking digital watch, or any other > talking time-telling device does. With all this, use the sox play > command or the aplay command, each of which will handle mp3 files, and > you are good to go. You have your own saytime program. > > > > Hope this helps. > > > > > -- > Doug Smith: C.S.F.C. > Computer Scientist For CHRIST > > > _______________________________________________ > Speakup mailing list > Speakup at braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup > >