Comment 2 for bug 353719

Revision history for this message
Jonathan Duddington (jonsd) wrote :

Yes. eSpeak in Ubuntu 8.10 is built to output sound using the OSS sound interface. OSS does not support sound mixing, so you will get this error if some other software is using Sound (or has recently used Sound and has not yet released the /dev/dsp).

eSpeak can be built either to use OSS or to use ALSA which supports sound mixing, depending on which version of the "PortAudio" sound interface library is used.

In Ubuntu 9.04, eSpeak has been built to use ALSA, so this problem should not occur.

You can also avoid this problem by piping its output through an ausio player such as "aplay", eg:

espeak -f textfile --stdout | aplay