Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Azure TTS Multilingual Voices #22

Open
v1k70rk4 opened this issue Dec 18, 2023 · 0 comments
Open

Support for Azure TTS Multilingual Voices #22

v1k70rk4 opened this issue Dec 18, 2023 · 0 comments

Comments

@v1k70rk4
Copy link

v1k70rk4 commented Dec 18, 2023

Hello, this is not a problem, but a question or a request for support.

My problem is that multilanguage languages have appeared in Azure TTS, and my question is whether the program can handle it. As I see it, HomeAssistant uses this component and I am in trouble with the use of multilang languages.

If it is not supported, I would ask if it is possible to implement this. The quickest would be a secondary_language option and it would put the whole text into this lang xml child:

Example:

<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis" xmlns:mstts="https://www.w3.org/2001/mstts" xml:lang="en-US">
    <voice name="en-US-JennyMultilingualV2Neural">
        <lang xml:lang="de-DE">
            Wir freuen uns auf die Zusammenarbeit mit Ihnen!
        </lang>
    </voice>
</speak>

Of course, it can be made more complicated, such as having multilingual Texts in one text, but I would be very happy with this too :)

Thank you in advance for your response.
Viktor

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

No branches or pull requests

1 participant