Comments (10)
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.
from edge-tts.
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.
from edge-tts.
Ah, thanks for the info.
If the API errors out, can you gracefully handle the error so it's a "might not work if you try it, but it's there if you want to try it"? Or was the problem that you kept getting issues opened for things that Edge didn't support and you didn't want to support that?
from edge-tts.
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.
from edge-tts.
Ah... That kind of sucks.
Let me see on Monday if I can find the team responsible for the Edge and see if they are planning to make the API more stable and support those extra features. Hold your fingers crossed, but temper your expectations :)
And thank you!
from edge-tts.
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.
from edge-tts.
It's intentional, basically!
from edge-tts.
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 :)
from edge-tts.
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.
from edge-tts.
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 :)
Cool, thanks, closing the issue.
from edge-tts.
Related Issues (20)
- Microsoft recently released new sound model... HOT 3
- any plan update for new voices HOT 2
- 能整合到网页里吗?任何平台的任何浏览器都能用吗? HOT 1
- support new OpenAI tts HOT 1
- Add "-" as a valid parameter for input/output parameters HOT 5
- British English voice not found HOT 1
- Is there quota for the tts service? HOT 1
- More than one speaker in a long long sentence HOT 1
- Support for pitch in the python api? HOT 1
- #deleted HOT 1
- Communicate blocks the asyncio loop briefly at the start HOT 3
- Multilingual voice will change language unintentionally HOT 1
- 生成的vtt字幕文件丢失原文的标点符号?
- How do I remove blank lines from VTT subtitles? HOT 9
- Few words are dropped when sending many requests in parallel HOT 5
- 语速加快配音会导致字幕与音频不对轴(Speeding up the voice-over will cause the subtitles to be out of sync with the audio)
- Save as wav? HOT 1
- 中文的文本生成的字幕,词语分割点总是在奇怪的位置,本来是一个词语应该在一条字幕内显示,而现在生成的字幕会把词语拆成两条字幕显示,不知道--write-subtitles命令中文本是如何分割的,我把中文标点符号替换成英文标点符号,结果还是一样 HOT 5
- Connection timeout to host wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&ConnectionId=79d29bf64dbf4212a779eaef6dd2f594 HOT 1
- Example to play audio chunks via pydub HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from edge-tts.