Quote: Originally Posted by pkg
I would love to hear about how you did this. I think voice synth can go a long way in other interfaces too.
Well the theorey is pretty simple... have the computer read back to you whatever is supposed to be on the screen. There's already bunches of software to just read everything on the screen but I needed to only read back the file names and directories.
The actual text to speech is easy with
festival or
flite. Just pass them words on the command-line and they speak 'em. You can usually also pipe text to them. So all you need to do is capture keystrokes on a keypad, figure out what to do (read the next file, previous file, go into a directory, make a playlist, etc) and when it's time to speak call the TTS program with the words to speak. This capturing of keys and deciding what to do is what CAUI does.
Of course you'll also need a music player like
MPlayer and some extra pieces of software probably to make it all come together easy. So install flite, mplayer, caui, and the Term::ReadKey perl modules in your Linux machine and you're mostly there. Then just configure your distribution (in /etc/inittab) to run CAUI as the first terminal when your system starts up; with a USB keyboard or numpad plugged in you should be able to start using CAUI right when the PC boots up.
You'll also need to edit /etc/caui.conf for the location of the music but thats about it as far as I remember. Any other questions?
P.S. Would anyone like a copy of my CarPC linux distribution? It's ~110MB so it fits nicely on a CompactFlash card and can be run read-only so you don't have to shut down your PC safely.