I tried to run espeak again as root and I get the same error. It works fine when I output to wave or stdout. Any ideas?
bpitcher@brad-ubuntero:~/projects$ uname -a
Linux brad-ubuntero 2.6.17-11-generic #2 SMP Thu Feb 1 19:52:28 UTC 2007 i686 GNU/Linux
Ubuntu 6.10
BTW, Thanks for working on this tts engine. It seems to be the only one in existence under active development. Is the any chance this thing would work on an embedded platform. Say, OpenMoko? http://wiki.openmoko.org/wiki/Neo1973_Hardware
Are the processor RAM requirements low enough? The Neo1973 has a 266Mhz ARM processor and I think 128MB RAM. I'll be getting a developer preview in a couple of weeks so I'll be able to attempt to build it at that time.
Thanks again!
Brad
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I made the first post I was using the ubuntu package of espeak, which is version 1.15. I have now compiled espeak 1.21 from source and I still get the same error.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
> PaHost_OpenStream: could not open /dev/dsp for O_WRONLY
This usually means that some other program is using output device.
This problem can be overcome by compiling eSpeak to use version 19 of the portaudio sound interface library (which uses the ALSA sound system), rather than version 18 (which uses the OSS sound interface).
> Are the processor RAM requirements low enough? The Neo1973 has a 266Mhz ARM processor and I think 128MB RAM.
eSpeak has low RAM and processor requirements. I run it here on a 200MHz ARM processor, where I measured it taking 51 sec to process 363 sec of speech (i.e. that's 14% of the processor power). Total memory usage (program, data, and working memory) is about 1 MByte.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you. It seems that I'm still having a problem opening the sound device. I compiled and installed a snapshot of libportaudio 19 and recompiled espeak 1.21 (after copying portaudio19.h to portaudio.h). Am I supposed to use the espeak or speak binary? Anyway here are the results of my testing:
> It seems that I'm still having a problem opening the sound device.
I don't know what's causing this. eSpeak usually works on Ubuntu without problems (other than the temporary unavailability of /dev/dsp if another program is using it).
Is it a problems with permissions, or is your user not in a group which allows access to the sound output.
Does it work if you run as root?
> Am I supposed to use the espeak or speak binary?
Try both. "espeak" is a small front end which uses the libespeak library, whereas "speak" is a self contained version.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I try and have espeak say something directly I get this error:
PaHost_OpenStream: could not open /dev/dsp for O_WRONLY
PaHost_OpenStream: ERROR - result = -10000
I checked the permissions on /dev/dsp:
crw-rw---- 1 root audio 14, 3 2007-03-15 08:15 /dev/dsp
I tried to run espeak again as root and I get the same error. It works fine when I output to wave or stdout. Any ideas?
bpitcher@brad-ubuntero:~/projects$ uname -a
Linux brad-ubuntero 2.6.17-11-generic #2 SMP Thu Feb 1 19:52:28 UTC 2007 i686 GNU/Linux
Ubuntu 6.10
BTW, Thanks for working on this tts engine. It seems to be the only one in existence under active development. Is the any chance this thing would work on an embedded platform. Say, OpenMoko? http://wiki.openmoko.org/wiki/Neo1973_Hardware
Are the processor RAM requirements low enough? The Neo1973 has a 266Mhz ARM processor and I think 128MB RAM. I'll be getting a developer preview in a couple of weeks so I'll be able to attempt to build it at that time.
Thanks again!
Brad
When I made the first post I was using the ubuntu package of espeak, which is version 1.15. I have now compiled espeak 1.21 from source and I still get the same error.
> PaHost_OpenStream: could not open /dev/dsp for O_WRONLY
This usually means that some other program is using output device.
This problem can be overcome by compiling eSpeak to use version 19 of the portaudio sound interface library (which uses the ALSA sound system), rather than version 18 (which uses the OSS sound interface).
> Are the processor RAM requirements low enough? The Neo1973 has a 266Mhz ARM processor and I think 128MB RAM.
eSpeak has low RAM and processor requirements. I run it here on a 200MHz ARM processor, where I measured it taking 51 sec to process 363 sec of speech (i.e. that's 14% of the processor power). Total memory usage (program, data, and working memory) is about 1 MByte.
Thank you. It seems that I'm still having a problem opening the sound device. I compiled and installed a snapshot of libportaudio 19 and recompiled espeak 1.21 (after copying portaudio19.h to portaudio.h). Am I supposed to use the espeak or speak binary? Anyway here are the results of my testing:
bpitcher@brad-ubuntero:~/projects/espeak-1.21-source/src$ ./espeak "hello"
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
bpitcher@brad-ubuntero:~/projects/espeak-1.21-source/src$ ./speak "hello"
bpitcher@brad-ubuntero:~/projects/espeak-1.21-source/src$
The call to speak does not produce any sound. As before outputting to wav works fine.
> It seems that I'm still having a problem opening the sound device.
I don't know what's causing this. eSpeak usually works on Ubuntu without problems (other than the temporary unavailability of /dev/dsp if another program is using it).
Is it a problems with permissions, or is your user not in a group which allows access to the sound output.
Does it work if you run as root?
> Am I supposed to use the espeak or speak binary?
Try both. "espeak" is a small front end which uses the libespeak library, whereas "speak" is a self contained version.