Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No speech on Fedora #57

Closed
serezlan opened this issue Oct 14, 2021 · 5 comments
Closed

No speech on Fedora #57

serezlan opened this issue Oct 14, 2021 · 5 comments

Comments

@serezlan
Copy link

Hello,

I found problem running emacspeak on Fedora 34. It does not output any speech with espeak or outloud.

espeak:

  • Running servers/espeak, no error message
  • executing "say something" on the prompt produce nothing.

outloud:

  • Running servers/outloud produce the following error

Using SoX
Found 2 languages.
allocating 65536 16 bit samples, 5.944308 seconds of audio.
19Error setting output buffer.

while executing

"load $tclTTS/atcleci.so"
(file "./outloud" line 483)

I've recompiled both native-espeak and linux-outloud successfully.

Thanks

@SETIYOSO
Copy link

Solved it.

The solution is two fold:

  1. Replace pipewire with pulseaudio
  2. Add required packages
  • alsa-plugins-pulseaudio
  • sox
  • sox-devel

Btw, do not use older version emacspeak with espeak. It may not work and of course not supported.
Use newer version with espeak-ng.

@narendraj9
Copy link

I have the exact same problem. I installed
alsa-plugins-pulseaudio
sox
sox-devel
and the problem still exists. How did you figure out what the problem was because there are no errors (at least in my case)?

@serezlan
Copy link
Author

Have you replace pipewire with pluseaudio?

to troubleshoot, try with espeak-ng server first:

  • Make sure your using emacspeak 53 or later
  • From emacspeak directory, goto server/native-linux directory
    • run "make clean && make"
    • Fix any missing dependency problem, if any
    • Go up one level there you should find executable espeak script file.
  • Execute that file and in the prompt run "say hello"
    • You should hear espeak say "hello"

You can repeat similar steps above with linux-outloud:

  • Run "make clean && make" on servers/linux-outloud directory
    • Fix any dependency problem
    • Go up one directory and execute script file outloud there
    • If you're greeted with a prompt without any error, you should be good to go.
    • If not, perhaps some packages are missing.

I found clue of needed packages from emacspeak-voxin-installer script for debian

LIST_EMACSPEAK_MUST="alsa-utils libasound2-plugins libasound2-dev libespeak-dev libsox-fmt-mp3 sox tcl8.6-dev tclx8.4 libxml2-dev"

@narendraj9
Copy link

Replacing pipewire did the trick. I was interested in knowing how you guessed that pipewire is the culprit and needs to be replaced.

@serezlan
Copy link
Author

It was in the emacspeak mailing list. One of the user tried installing arch on VM with pipewire and emacspeak failed to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants