espeak, portaudio v19

April 20, 2009 at 13:44 | Posted in Adventures | 1 Comment
Tags: , ,

installed portaudio v19 because it was the latest stable version of a dependency of espeak, compiled espeak against it by moving the file mentioned in the espeak readme for v19…

bash-3.1$ espeak hello

espeak: error while loading shared libraries: libportaudio.so.2: cannot open shared object file: No such file or directory

yeah got that. did this:

bash-3.1$ sudo ln -T /usr/local/lib/libportaudio.so.2 /usr/lib/libportaudio.so.2 –symbolic

now I get this, along with a painfully british man’s voice greeting me:

bash-3.1$ espeak “hello”
*** PULSEAUDIO: Unable to connect: Connection refused
*** PULSEAUDIO: Unable to connect: Connection refused

apparently I don’t have it running, I suppose, because when I open a terminal and run the command pulseaudio, and then try espeak again, I have no errors.

note: the en-us voice sounds frighteningly british to me.

note #2: it looks like 285 KB of text equates to about 644 MB of wav file, with about a 1:2314 text-to-sound size ratio.

note #3: maybe I could’ve just run ldconfig instead of making a symlink, now that I think about it…?

Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.

Follow

Get every new post delivered to your Inbox.