[BRLTTY] Build brltty with support for espeak-ng
Tage Johansson
frans.tage at gmail.com
Sun Dec 8 13:35:35 EST 2019
I ran:
$ sudo ./run-brltty -Lbrltty.log -lspeech,debug
I then moved between two lines in the terminal:
1. [tage at alarm ~]$ bbbbbbbbbbbbbbbbbbbbbbb
2. -bash: bbbbbbbbbbbbbbbbbbbbbbb: command not found
I've cut out a illustrative part of the logfile and pasted it at the
bottom of this message.
Here's what I think is happening:
1. I start by moving to line 1.
2. Brltty receives my command and autospeaks line 1.
3. The speech request to speak line 1 is enqueued and send to the
speech-driver.
4. The speech-driver handles the request to line 1.
5. I move to line 2.
6. Brltty receives my command and autospeaks line 2.
7. The speech request to speak line 2 is enqueued and send to the
speech-driver.
8. The speech-driver starts to handle the request to speak line 2 but hangs.
9. I move to line 1.
10. Brltty receives my command and autospeaks line 1.
11. The request to speak line 1 is enqueued but never send to the
speech-driver because the request to speak line 2 has not been handled yet.
12. 1.7s later, the speaking of line 1 is finnished.
13. The speech-driver handles the request to speak line 2 done.
14. Brltty sends the request to speak line 1 to the speech-driver.
15. The speech-driver handles the request to speak line 1.
16. The speaking of line 2 gets interrupted and is reported as finnished.
17. 2.6s later, the speaking of line 1 is reported as finnished.
The strange thing here is that the request to speak hangs at step 8 but
not at step 15. Any ideas what might be wrong?
And here's the log:
2019-12-08 at 13:43:00.946 [brltty] command: 000000 (NOOP: do nothing)
2019-12-08 at 13:43:00.954 [brltty] command: 000001 (LNUP: go up one line)
2019-12-08 at 13:43:00.961 [brltty] speech: autospeak: line selected:
[0,23] 0.82
2019-12-08 at 13:43:00.961 [brltty] speech: say: [tage at alarm ~]$
bbbbbbbbbbbbbbbbbbbbbbb
2019-12-08 at 13:43:00.961 [brltty] speech: enqueuing speech request: say text
2019-12-08 at 13:43:00.961 [brltty] speech: sending speech request: say text
2019-12-08 at 13:43:00.961 [speech-driver] speech: handling speech request:
say text
2019-12-08 at 13:43:00.963 [speech-driver] speech: sending speech message:
request finished
2019-12-08 at 13:43:00.963 [brltty] speech: handling speech message:
request finished
2019-12-08 at 13:43:01.202 [brltty] command: 000000 (NOOP: do nothing)
2019-12-08 at 13:43:01.210 [brltty] command: 000002 (LNDN: go down one line)
2019-12-08 at 13:43:01.217 [brltty] speech: autospeak: line selected:
[0,24] 0.82
2019-12-08 at 13:43:01.217 [brltty] speech: say: -bash:
bbbbbbbbbbbbbbbbbbbbbbb: command not found
2019-12-08 at 13:43:01.217 [brltty] speech: enqueuing speech request: say text
2019-12-08 at 13:43:01.217 [brltty] speech: sending speech request: say text
2019-12-08 at 13:43:01.217 [speech-driver] speech: handling speech request:
say text
2019-12-08 at 13:43:01.522 [brltty] command: 000000 (NOOP: do nothing)
2019-12-08 at 13:43:01.530 [brltty] command: 000001 (LNUP: go up one line)
2019-12-08 at 13:43:01.537 [brltty] speech: autospeak: line selected:
[0,23] 0.82
2019-12-08 at 13:43:01.537 [brltty] speech: say: [tage at alarm ~]$
bbbbbbbbbbbbbbbbbbbbbbb
2019-12-08 at 13:43:01.537 [brltty] speech: enqueuing speech request: say text
2019-12-08 at 13:43:03.268 [speech-driver] speech: sending speech message:
speech finished
2019-12-08 at 13:43:03.268 [brltty] speech: handling speech message: speech
finished
2019-12-08 at 13:43:03.270 [speech-driver] speech: sending speech message:
request finished
2019-12-08 at 13:43:03.270 [brltty] speech: handling speech message:
request finished
2019-12-08 at 13:43:03.270 [brltty] speech: sending speech request: say text
2019-12-08 at 13:43:03.270 [speech-driver] speech: handling speech request:
say text
2019-12-08 at 13:43:03.274 [speech-driver] speech: sending speech message:
request finished
2019-12-08 at 13:43:03.274 [brltty] speech: handling speech message:
request finished
2019-12-08 at 13:43:03.322 [speech-driver] speech: sending speech message:
speech finished
2019-12-08 at 13:43:03.322 [brltty] speech: handling speech message: speech
finished
2019-12-08 at 13:43:05.618 [speech-driver] speech: sending speech message:
speech finished
2019-12-08 at 13:43:05.618 [brltty] speech: handling speech message: speech
finished
Best regards,
Tage
More information about the BRLTTY
mailing list