Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm using the Festival speech synthesizer under Ubuntu 10.04 like:

echo '(SayText "hello world")' | esddsp festival --pipe

This works perfectly on 32-bit systems, but on 64-bit machines it's unreliable. Usually, it'll work correctly the first time, and then subsequent calls with sound completely garbled, and I'll get this error:

ERROR: ld.so: object '/usr/lib/esound/libesddsp.so.0' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libesd.so.0' from LD_PRELOAD cannot be preloaded: ignored.

How would I fix this? I've Googled, and it seems this is not a new error, but the problem seems to popup in different distros for different apps, and the solutions are usually convoluted and involve recompiling the entire audio stack.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

Works for me. If you did not remove Pulseadio (Ubuntu's default audio system and ESD replacement) you may have more success in doing this:

pasdp instead of esddsp:

echo '(SayText "hello world")' | padsp festival --pipe

Pulseaudio's automagic alsa swallower:

festival '(SayText "hello world")'

share|improve this answer
    
Thank you. I've been trying to fix this issue forever. The first works perfectly. The second sounds tinny and garbled and bypasses my mixer, as I heard it on my laptop's speakers even though I had headphones plugged in. –  Cerin Sep 28 '11 at 21:26
1  
You're welcome. Thank you too for bringing this up. I now use festival '(SayText "%t, by %a")' at the gmusicbrowser 'Now playing' plugin at track changes... –  aquaherd Sep 28 '11 at 21:38
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.