Skip to content

All symbols are not sent to sapi 5 tts #17533

Closed

Description

@burmancomp

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?

Activity

  1. burmancomp commented on Dec 16, 2024

    @burmancomp
    ContributorAuthor
  2. zstanecic commented on Dec 16, 2024

    @zstanecic
    Contributor

    @burmancomp
    Have you tried to force send these symbols through the NVDA punctuation dialog?

  3. burmancomp commented on Dec 16, 2024

    @burmancomp
    ContributorAuthor

    Yes. I have set level to character and "send actual symbol to synthesizer" to always.

  4. zstanecic commented on Dec 16, 2024

    @zstanecic
    Contributor

    By the way, is Mikropuhe Unicode compliant?

  5. irrah68 commented on Dec 16, 2024

    @irrah68

    By the way, is Mikropuhe Unicode compliant?

    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.

  6. SaschaCowley commented on Dec 16, 2024

    @SaschaCowley
    Member

    @burmancomp, @irrah68, what is the use-case here? What is the expected behaviour?

  7. added
    blocked/needs-info
    on Dec 16, 2024
  8. irrah68 commented on Dec 17, 2024

    @irrah68

    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.

  9. burmancomp commented on Dec 17, 2024

    @burmancomp
    ContributorAuthor

    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.

  10. changed the title [-]All characters are not sent to sapi 5 tts[/-] [+]All symbols are not sent to sapi 5 tts[/+] on Dec 17, 2024
  11. burmancomp commented on Dec 20, 2024

    @burmancomp
    ContributorAuthor

    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.

  12. burmancomp commented on Feb 19, 2025

    @burmancomp
    ContributorAuthor

    @SaschaCowley may I ask why this is not triaged.

  13. SaschaCowley commented on Feb 21, 2025

    @SaschaCowley
    Member

    @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

  14. burmancomp commented on Feb 21, 2025

    @burmancomp
    ContributorAuthor
  15. added
    p5
    triaged
    and removed on Feb 24, 2025
  16. gerald-hartig commented on Feb 24, 2025

    @gerald-hartig
    Contributor

    The "ask" on this is unclear and touches more generally on how NVDA works. Converting this to a discussion.

  17. locked and limited conversation to collaborators on Feb 24, 2025
  18. converted this issue into a discussion #17734 on Feb 24, 2025
  19. added this to the 2025.1 milestone on Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    blocked/needs-infocomponent/speechp5triaged

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions