Skip to content

FIX FOR SAPI4 SYNTHESIZERS#10792

Merged
michaelDCurran merged 3 commits into
nvaccess:masterfrom
dawidpieper:sapi4fix
Feb 19, 2020
Merged

FIX FOR SAPI4 SYNTHESIZERS#10792
michaelDCurran merged 3 commits into
nvaccess:masterfrom
dawidpieper:sapi4fix

Conversation

@dawidpieper

Copy link
Copy Markdown
Contributor

Summary of the issue:

In NVDA 2019.3 some SAPI4 synthesizers like Syntalk don't work properly. as the final index is not get by Screenreader.
As a result, when focusing some lists or explorer windows, the highlighted element is not reported. Also spelling does not work.

Description of how this pull request fixes the issue:

As the sequence is closed by some synthesizers just after reaching the last string in queue, we simply add 1ms break after all sequences sent to SAPI4 voice.

Testing performed:

The last index in speech sequence is sent to NVDA again. When focusing the desktop or using tab to navigate across elements, all items are now reported properly.
This was ested both on Windows 10 and Windows 7 and confirmed by some users from Poland.

Known issues with pull request:

None issues found.
The drawback is that spelling may prove to slow down a bit after implementing this solution.

Change log entry:

Bug fixes
SAPI4 voices should now properly report once the speak is completed

Added 1ms break after SAPI4 speech sequence as some synthesizers like Syntalk are completing the sequence just after last text, ignoring additional indexing
@AppVeyorBot

Copy link
Copy Markdown

See test results for failed build of commit 5618c4c158

@AppVeyorBot

Copy link
Copy Markdown

See test results for failed build of commit f4cd96abfc

@LeonarddeR LeonarddeR left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like a reasonable workaround.

@zstanecic

zstanecic commented Feb 17, 2020 via email

Copy link
Copy Markdown
Contributor

@btman16

btman16 commented Mar 27, 2020

Copy link
Copy Markdown

Hi,

A similar issue exists at issue 10901.

Except that has to do with SAPI5.

Thanks,

B

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

Successfully merging this pull request may close these issues.

7 participants