-
Notifications
You must be signed in to change notification settings - Fork 567
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
Pronounciation and other finer control #35
Comments
This function previously existed but was removed. It doesn't work properly due to Microsoft closing up the API and so I removed it. If you send XML that uses features not present in Edge browser the API will error out now. |
It expects XML documents with only XML document formats that would be generated by Edge Browser. I believe it checks if it matches the template the browser uses. |
Ah, thanks for the info. |
Well the issue was that the API didn't error out exactly, it just returned nothing. In any case it does raise an exception for when the API returns no audio. Either way users of other libraries that depended on edge-tts made issues because the library that they were using was using custom SSML and was not working, so I removed it entirely. I was never able to get it to do anything useful anyway. It used to support all the Azure Cognitive Services features but not anymore. It doesn't even support setting a custom pitch value. |
Ah... That kind of sucks. |
The API is stable, it's just that using the paid Azure Cognitive Services features no longer works. At the start they don't do any sort of filtering. |
It's intentional, basically! |
Oh, so they didn't shut it down, just moved it to a paid tier? Ok, I guess that makes sense... To be fair, it's one of the best TTS's around and the basica functionality is free so guess we can be happy with that at least :) |
Well it was always a paid service. Azure Cognitive Services is a paid service for TTS generation. Edge browser's online TTS is basically just Azure Cognitive Services with restrictions. Anyway if pronunciation and other fine control is available functionality in Edge, then I could probably add it to the library. Otherwise I guess this issue needs to be closed. |
Got it, so it's essentially not even supposed to be free, and we just shouldn't talk about it and be happy it works :) |
Hi,
would it be possible to extend this to support defining pronounciations for specific words? I see Edge has a few different options in the XML and there is a step here that converts the passed in message to XML before sending of to Edge TTS so perhaps exposing another function to pass in the direct XML instead for "advanced" users might be an easy way to extend support for things that aren't implemented as nice, easy options?
The text was updated successfully, but these errors were encountered: