[BRLTTY] Build brltty with support for espeak-ng

Dave Mielke Dave at mielke.cc
Sat Dec 7 19:58:15 EST 2019


[quoted lines by Tage Johansson on 2019/12/06 at 21:09 +0100]

>Ok, so this is extremely strange. I've tested things again and it seems like
>the speech sometimes is interrupted when moving to a new line in the midle of
>a line but not always. It seems it is more likely to interrupt the speech at
>the beginning of a line. So if I move between two lines quicly it gets
>interrupted but if I wait a second the speech will not be interrupted when I
>move to a new line.

It's now happened to me twice. For me, it happens when brltrty is started
during a system boot. Interestingly, thopgh, when I then stop and restart
brltty the problem goes away. When it strikes it happens even when I move
quickly from line to line.

I'm sure the problem isn't within brltty because the code looks right. Maybe,
therefore, it's within eSpeak-NG or within Pulse Audio.

If it's within eSpeak-NG then I can think (so far) of two possibilities. It
could be a multi-thread locking problem or it could be that, given the right
conditions, the synthesis is so fast that it all gets sent to the kernel audio
buffer and might be too late to cancel. Maybe Nicolas has some thoughts on
this.

>I can send a brltty log-file if you just tell me what commandline flags to
>send to brltty in order to get the write logfile.

You might try -ldebug,speech, and then we can check the timestamps of when the
various speech events occur. Maybe that'll give a hint. Also, use
-L/path/to/logfile to specify where to write those logs.

-- 
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke            | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: Dave at Mielke.cc  | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: +1 613 726 0014 | Canada  K2A 1H7   |


More information about the BRLTTY mailing list