brailcom / brailcom/speechd

Sounds "cracking" when interrupting speech

Open
#1,035 1 comment 0 reactions 0 assignees View on GitHub
bug needinfo
Dominant language
C
Stars
331
Forks
92
Avg merge
2d 10h
Merged PRs (30d)
9

Description

### Steps to reproduce

Running Orca, generate events quickly so speech for them gets interrupted often.

### Obtained behavior

Sometimes, I hear short "cracks" between speech requests.

### Expected behavior

No cracks, smooth audio.

### Behavior information

Not really sure, but I don't see overruns or underruns in system logs.

Happens with both espeak-ng and Baratinoo modules at least. Sound system is pulseaudio in both cases, but hardware is different, though both Intel HDA, s16le 2ch, 44100Hz.

### Distribution & Speech-Dispatcher version

Debian, someone with spd 0.9.0 (Buster) reproduces it, and I can also get it (Bookworm, 0.11.4), though much less frequent I believe.

---

I would think the issue *might* be that interruption don't necessarily land on a buffer read boundary and that it could lead to the soundcard reading more than what was actually written, but that's potentially something that the sound system would be avoiding… I don't know.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.