All symbols are not sent to sapi 5 tts #17734
Replies: 15 comments
-
cc: @irrah68 |
Beta Was this translation helpful? Give feedback.
-
@burmancomp |
Beta Was this translation helpful? Give feedback.
-
Yes. I have set level to character and "send actual symbol to synthesizer" to always. |
Beta Was this translation helpful? Give feedback.
-
By the way, is Mikropuhe Unicode compliant? |
Beta Was this translation helpful? Give feedback.
-
Not fully. It has some kind of Unicode support but it doesn't work or atleast I don't know how to get most out of it. But the problem with line break characters is something which seems to concern only NVDA at the moment. There are many other programs which communicate directly with Sapi and they work without problems; a pause can be heard when thera line breaks. I manage to add pauses to NVDA:s speech when using Mikropuhe speech syntesizer, but it is another story. |
Beta Was this translation helpful? Give feedback.
-
@burmancomp, @irrah68, what is the use-case here? What is the expected behaviour? |
Beta Was this translation helpful? Give feedback.
-
The expected behaviour is that the line break characters \n and \r are sent directly to the speech synthesizer, which can then handle them, for example add some pauses between lines. This depends on how configurable the speech synthesizer is. It seems that \n and \r are sent to the user dictionaries, voice dictionaries, but are not sent from there to the synthesizer. |
Beta Was this translation helpful? Give feedback.
-
When "send actual symbol to synthesizer" is set to "always", this should happen every time for every symbol. If all symbols are not allowed to be sent to synthesizer then that alternative should not be selectable for those symbols. |
Beta Was this translation helpful? Give feedback.
-
It is good that user can select if given symbol is sent to synthesizer. It is important that user can rely that this also happens. If for some reason, for example sapi5 parts of microsoft block symbols, that behavior should be documented, and it should not be possible to select for these symbols that they can be sent to synthesizer. I think this issue should be triaged. |
Beta Was this translation helpful? Give feedback.
-
@SaschaCowley may I ask why this is not triaged. |
Beta Was this translation helpful? Give feedback.
-
@burmancomp we were unclear as to the use-case, so could not triage. Unfortunately this issue slipped our notice when processing new issues. We will make sure to triage it when we next triage issues |
Beta Was this translation helpful? Give feedback.
-
Thanks @SaschaCowley |
Beta Was this translation helpful? Give feedback.
-
The "ask" on this is unclear and touches more generally on how NVDA works. Converting this to a discussion. |
Beta Was this translation helpful? Give feedback.
-
Sorry @gerald-hartig but could you explain this conversion to discussion? What is unclear? What makes it "big thing" that all symbols should be sent to TTS because UI already shows that this should happen. |
Beta Was this translation helpful? Give feedback.
-
@gerald-hartig wrote:
@irrah68 wrote in #17533 (comment):
If I understand correctly, some synth are able to add a pause where there are \r\n and thus, and thus people ask not to remove them from the strings passed to the synth. The use case and the request seem quite clear. Also @burmancomp wrote in #17533 (comment):
This request is also understandable and completely valid IMO. To summarize, the initial request seems valid and precise enough to be discussed in an issue. If the change request is not accepted due to strong software architecture limitations, at least the fact that it should be documented and the request on the UX of the symbol dialog should be accepted as valid (triaged). @gerald-hartig would you reconsider this triage action and accept reopening an issue for this? |
Beta Was this translation helpful? Give feedback.
-
Steps to reproduce:
At least mikropuhe (sapi 5 tts used in Finland) does not receive all characters. This can be detected through mikropuhe own interpretation system.
Ensure that "\n" and "\r" are sent to tts through punctuation/symbol pronunciation dialog.
Actual behavior:
Mikropuhe never receives these symbols.
Expected behavior:
It should receive them.
NVDA logs, crash dumps and other attachments:
System configuration
NVDA installed/portable/running from source:
installed
NVDA version:
current alpha
Windows version:
w10 22h2 (should apply to w11)
Name and version of other software in use when reproducing the issue:
atl least mikropuhe 5.1 (I guess mikropuhe 5.4 and likely other sapi 5 synthesizers as well)
Other information about your system:
Other questions
Does the issue still occur after restarting your computer?
yes
Have you tried any other versions of NVDA? If so, please report their behaviors.
If NVDA add-ons are disabled, is your problem still occurring?
Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?
Beta Was this translation helpful? Give feedback.
All reactions