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

Sound is not produced for short messages, start is cut for long in Linux (Lubuntu) #278

Closed
valdisvi opened this issue Jun 18, 2017 · 2 comments

Comments

@valdisvi
Copy link
Member

valdisvi commented Jun 18, 2017

After year long experiments and last software updates I got situation, when my sound card just produced white noise. I failed to restore just sound settings (tried to remove all sound related setting files in my home folder and forced to reinstall all sound packages), so I fully reinstalled my Lubuntu 16.04 Linux workstation.

Lubuntu by default uses ALSA (which works fine) but, to compile pcaudiolib, pulseaudio is installed.
Now I have situation that invoking espeak-ng sound is not produced for short messages, but for long messages (e.g. listening articles) burst of clicks is produced approximately for the first paragraph instead.
Issue does not disappear when pulseaudio -k is called or global volume is changed, but disappears, if some setting is changed in pavucontrol.

I don't know is it more pulseaudio, espeak-ng or Intel Point-H HD card fault, but maybe there are some ideas how their interaction can be fixed. I haven't heard any other issues playing sound, videos etc.

@valdisvi
Copy link
Member Author

valdisvi commented Jun 27, 2017

I got it working by following:

  1. Remove pulseaudio package install alsa:
sudo apt purge pulseaudio
sudo apt autoremove
sudo apt install --reinstall alsa
  1. Reboot
sudo reboot
  1. Recompile espeak-ng with --with-pulseaudio=no support:
./autogen.sh
./configure --prefix=/usr --with-pulseaudio=no
make -B
sudo make install

To my surprise recompilation of pcaudiolib without pulseaudio went successfully (probably I did not do clean making before).
So, error is interaction between espeak-ng pulseaudio drivers.

@valdisvi
Copy link
Member Author

valdisvi commented Jan 5, 2018

I think, I solved this issue by clean installation of pcaudiolib.
When do ./configure, check that status says:

	PulseAudio support:            yes

If not, ensure that libpulse-dev package is installed. Then compile and install it.
Now espeak-ng works without problems (so far).

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

1 participant