Skip to content

increase espeak speed to maximum without sonic#603

Merged
sthibaul merged 1 commit into
brailcom:masterfrom
alex19EP:espeak-max-speed
Aug 11, 2021
Merged

increase espeak speed to maximum without sonic#603
sthibaul merged 1 commit into
brailcom:masterfrom
alex19EP:espeak-max-speed

Conversation

@alex19EP

Copy link
Copy Markdown
Contributor

I'm not sure if I need to change the espeak config I only tested espeak-ng

maybe we should increase the minimum and average speed too.

@sthibaul

Copy link
Copy Markdown
Collaborator

It seems espeak as well caps to 450:

	if(wpm > 450)
		wpm = 450;

so yes we can increase to 449 in both case. Why not setting 450, though?

@alex19EP

Copy link
Copy Markdown
Contributor Author

so yes we can increase to 449 in both case. Why not setting 450, though?

because of espeak-ng/espeak-ng#131

@sthibaul

Copy link
Copy Markdown
Collaborator

so yes we can increase to 449 in both case. Why not setting 450, though?

because of espeak-ng/espeak-ng#131

ok :)

@sthibaul sthibaul merged commit 7abe107 into brailcom:master Aug 11, 2021
seanbudd pushed a commit to nvaccess/nvda that referenced this pull request Jul 14, 2022
…d. (#13893)

A partial fix for issue #13876.

Summary of the issue:
With eSpeak, when rate boost is off, the speech rate is slightly higher (7% according to espeak-ng/espeak-ng#131 (comment)) when rate is 99% than when rate is 100%.

Description of user facing changes
With eSpeak, a speech rate of 100% corresponds to the fastest speech rate without rate boost; no more rate drop between 99% and 100%

Description of development approach
`_espeak.maxRate` is the rate used when NVDA speech rate is 100%.
So set `_espeak.maxRate` to 449 instead of 450. Indeed according to espeak-ng/espeak-ng#131:
* the sonic library is used for eSpeak rate set to 450 or higher for many years (instead of 451 before).
* other ATs may already be using this new value, e.g. speech-dispatcher: https://github.com/brailcom/speechd (cf. brailcom/speechd#603)

This allows to have a continuous increasing of speech rate when rate boost is off and to reserve the use of the sonic library for rate boost on.

If one day, eSpeak turns back to 450 for maxRate (what seems unlikely), we may revert this PR's content to follow eSpeak's decision.
@alex19EP alex19EP deleted the espeak-max-speed branch November 24, 2022 23:51
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.

2 participants