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

Distortion after speechd spawning when using HDMI output #446

Closed
marcecj opened this issue Dec 8, 2020 · 2 comments
Closed

Distortion after speechd spawning when using HDMI output #446

marcecj opened this issue Dec 8, 2020 · 2 comments

Comments

@marcecj
Copy link

marcecj commented Dec 8, 2020

Hi,

I've been having this issue for a while now (at least a year) where, when using my HDMI sound output (and only then), sound would suddenly become distorted (hard to describe, it sounds glitchy and there's a noticeable left/right delay). Up to now I just restarted pulseaudio as a workaround, but recently noticed that it always happened when starting KMail. Following this lead I found out others were having this problem and that it was triggered by speechd auto-spawning (see, e.g., https://bugs.kde.org/show_bug.cgi?id=401493). Setting DisableAutoSpawn in ~.config/speech-dispatcher/speechd.conf finally caused the issue to go away.

I don't know what exactly is causing this, but speechd is as far as I got. This is with speech-dispatcher 0.9.1 and pulseaudio 13.0 (although I've gone through several different versions of the latter by now).

@sthibaul
Copy link
Collaborator

sthibaul commented Dec 8, 2020

This is very probably what was worked around in #198 . This is an issue inside pulseaudio which was triggered by the low latency requested by speechd. Please upgrade speech-dispatcher to at least version 0.10.0 to get the work around. Alternatively, uncomment the

AudioPulseMinLength 1764

line in speechd.conf.

@sthibaul sthibaul closed this as completed Dec 8, 2020
@marcecj
Copy link
Author

marcecj commented Dec 8, 2020

Ah, so this was already taken care of in a newer version, guess I need to file a bug with Gentoo to get a newer version in (otherwise I would have tested that first). Also glad to see there's also a PR for pulseaudio :-) . Anyway, thanks for the quick response!

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

2 participants