Flushing issue

Tyler Spivey tspivey at pcdesk.net
Sat Oct 10 20:46:58 EDT 2020


It might be getting interrupted quickly, but at the wrong time.
IIRC, the core issue with espeak-ng (without speech dispatcher) is that 
there's no way to flush the audio without at least one buffer of audio 
playing.
Speech-dispatcher, NVDA, etc don't care because they all use their own 
audio library. But espeakup and emacspeak use espeak-ng's built-in audio 
library and the performance isn't very good.
While I haven't tried with espeakup, emacspeak was completely unusable 
on my Ubuntu 20.04 system with PulseAudio and whatever espeak-ng it had.

I'll try with espeakup and report back, since I assume this is the 
configuration most people would actually want to use. Yes you can get by 
on a mostly text-only system without pulse, but it has a lot of 
disadvantages.

If I interrupt speech, I want it interrupted as soon as I hit the key, 
not after whatever buffer plays because espeak can't tell the audio 
driver to stop. I think the old espeak did that.


On 10/10/2020 4:53 PM, Samuel Thibault wrote:
> Kirk Reiser, le sam. 10 oct. 2020 19:17:42 -0400, a ecrit:
>> In fact, if I just hold down the previous-lineor next-line keys it
>> still reads bits of the screen as it's going up or down. I tried to
>> type fast enough to not get any speech but couldn't do it. It almost
>> speaks immediately when I press the key or fast enough I can't tell
>> the difference.
> 
> Ok but isn't it getting interrupted by the next key press also very
> fast?
> 
> Making the rate to 9 and running less on a long text, then keeping the
> down key pressed, I do get gibberish speech indeed, since it basically
> tries to speak the first words of each line very fast before the next
> key press switches to the next line. But what else would be expected?
> 
>> the libespeak library as reported by ldd is:
>>
>> libespeak.so.1 => /usr/lib/x86_64-linux-gnu/libespeak.so.1 (0x00007f6298
> 
> That is not precise enough, that has never changed since the espeak
> times. The last version of espeak-ng I'm aware of is 1.50.
> 
> Samuel
> _______________________________________________
> Speakup mailing list
> Speakup at linux-speakup.org
> http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
> 


More information about the Speakup mailing list