Implement BreakCommand for SAPI4, fix eSpeak#13875
Merged
Merged
Conversation
5 tasks
This comment was marked as resolved.
This comment was marked as resolved.
Member
Author
|
@feerrenrut - this has now been tested with SAPI4 using the steps in #12152 |
feerrenrut
approved these changes
Jul 11, 2022
| import os | ||
| from collections import OrderedDict | ||
| from typing import Optional, Set | ||
| from typing import Dict, List, Optional, Set |
Contributor
There was a problem hiding this comment.
Please split onto multiple lines.
|
@seanbudd @feerrenrut hi! |
Contributor
|
@djphoenix Could you please open a new issue to track this? |
Member
Author
|
Note, this will need to happen after/when updating eSpeak |
This was referenced Dec 22, 2022
seanbudd
added a commit
that referenced
this pull request
Jan 4, 2023
Closes #14281 Closes #14241 Addresses #13875 (comment) Summary of the issue: Janitorial update of eSpeak. Removes a workaround added to handle a bug with eSpeaks BreakCommand implementation, tracked in espeak-ng/espeak-ng#1232, #13875 (comment) Description of user facing changes eSpeak is updated. Fixes pronunciation of large numbers (#14241). Description of development approach Dropped strength for eSpeak BreakCommand attribute per espeak-ng/espeak-ng#1232 being fixed in eSpeak.
6 tasks
seanbudd
added a commit
that referenced
this pull request
Jan 6, 2023
#14483 was reverted via #14516 due to an issue with rate boost. eSpeak changed the compilation flag, and that change wasn't in the Makefile.am diff, so it was missed. This is fixed in 7e558da Link to issue number: Closes #14281 Closes #14241 Addresses #13875 (comment) Summary of the issue: Janitorial update of eSpeak. Removes a workaround added to handle a bug with eSpeaks BreakCommand implementation, tracked in espeak-ng/espeak-ng#1232, #13875 (comment) Description of user facing changes eSpeak is updated. Fixes pronunciation of large numbers (#14241). Description of development approach Dropped strength for eSpeak BreakCommand attribute per espeak-ng/espeak-ng#1232 being fixed in eSpeak. Janitorial update Followed instructions in include/espeak.md. Checked the following diffs. cd include/espeak git diff a51235aa b17ed2d6 src/windows/config.h git diff a51235aa b17ed2d6 Makefile.am Addressed the following eSpeak changes: Introduction of langopts.c: espeak-ng/espeak-ng@4a28902 Fix up of code standards: change DINCLUDE to DUSE: espeak-ng/espeak-ng@ca1f590 Note that eSpeak has changed MBROLA compilation, does not affect our build: espeak-ng/espeak-ng@78ac6c4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Link to issue number:
None
Summary of the issue:
The
BreakCommandis not implemented with SAPI4.There is also a known issue with eSpeak not supporting the
breakSSML tag correctly.Description of user facing changes
Fix pauses being announced correctly when using MathPlayer and SAPI4 or eSpeak.
Description of development approach
For SAPI5 the
Pautag is used to implement the pause.There is a known issue with eSpeak and the
breakSSML tag, which has been fixed with a workaround, adding thestrengthattribute, while we wait for espeak-ng/espeak-ng#1232 to be fixed.Testing strategy:
Manual testing
Running the following code in the Python console using
Known issues with pull request:
None
Change log entries:
Code Review Checklist: