You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
External software can use the NVDA controller client library to make NVDA announce text. This is used by twitter clients like TWBlue and Chicken Nugget, for example. This functionality is also used internally, for example by the live region handler.
However, the new speech priority support is not added to the NVDA controller client. It would be helpful if it were, See #10622 for a use case.
Describe the solution you'd like
I propose adding a nvdaController_speakTextEx function that adds:
An enum parameter for the speech priority
A boolean value that allows one to cancel speech before speaking. I think it should only cancel speech within the speech queue of the given priority. If someone wants to cancel all the speech, they can use nvdaController_cancelSpeech instead.
Describe alternatives you've considered
Add these new parameters to nvdaController_speakText. I'm afraid this can't be done without breaking backwards compatibility though. Could you confirm this @michaelDCurran?
The text was updated successfully, but these errors were encountered:
)
Fixes#11028Fixes#5638
Summary of the issue:
The NVDA Controller client has been stable for a long time, but it lacked support for modern speech features, such as priority and callbacks.
Description of user facing changes
None.
Description of development approach
Added the following functions to the controller client:
nvdaController_getProcessId: To get the process id (PID) of the current instance of NVDA the controller client is using.
nvdaController_speakSsml: To instruct NVDA to speak according to the given SSML. This function also supports:
Providing the symbol level.
Providing the priority of speech to be spoken.
speaking both synchronously (blockking) and asynchronously (instant return).
nvdaController_setOnSsmlMarkReachedCallback: To register a callback of type onSsmlMarkReachedFuncType that is called in synchronous mode for every <mark /> tag encountered in the SSML sequence provided to nvdaController_speakSsml.
Is your feature request related to a problem? Please describe.
External software can use the NVDA controller client library to make NVDA announce text. This is used by twitter clients like TWBlue and Chicken Nugget, for example. This functionality is also used internally, for example by the live region handler.
However, the new speech priority support is not added to the NVDA controller client. It would be helpful if it were, See #10622 for a use case.
Describe the solution you'd like
I propose adding a nvdaController_speakTextEx function that adds:
Describe alternatives you've considered
Add these new parameters to nvdaController_speakText. I'm afraid this can't be done without breaking backwards compatibility though. Could you confirm this @michaelDCurran?
The text was updated successfully, but these errors were encountered: