crow-translate / QOnlineTranslator

A library for Qt5 that provides free usage of Google, Yandex and Bing translate API.
GNU General Public License v3.0
79 stars 12 forks source link

Bing Translate TTS #20

Open CyberMan571 opened 2 years ago

CyberMan571 commented 2 years ago

I found bing tts info, from you, I would like re develop app for supported bing tts,
bing translate-translator-tts-support.txt

please, you look at file, for necessary bing tts connection.

https://browser.pipe.aria.microsoft.com/Collector/3.0/?qsp=true&content-type=application%2Fbond-compact-binary&client-id=NO_AUTH&sdk-version=AWT-Web-CJS-1.2.0&x-apikey=

https://westeurope.tts.speech.microsoft.com/cognitiveservices/v1?

Shatur commented 2 years ago

Thanks for the info! I would appreciate if someone send a PR because for now I'm a little busy. Here is where the TTS logic located: https://github.com/crow-translate/QOnlineTranslator/blob/df89083d2f680a8f856b1df00b8846f995cf1fae/src/qonlinetts.cpp#L117 I would split the logic inside the function generateUrls into three separate ones for each backend and call the appropriate one depending on the value of the "engine" from generateUrls. To test the change in Crow, you just need to change these lines in CMake.

CyberMan571 commented 2 years ago

Thanks, me too. not important, I can wait! No Problem, No big problem! I know it I'm got Used To at the Future, when I have programming info enough, I can help anybody speedly.