LibreTranslate / LibreTranslate

Free and Open Source Machine Translation API. Self-hosted, offline capable and easy to setup.
https://libretranslate.com
GNU Affero General Public License v3.0
9.7k stars 876 forks source link

Text to Speech [enhancement] #32

Open canderson113 opened 3 years ago

canderson113 commented 3 years ago

I was thinking we could add Text to Speech to the translations.

I found a couple libraries we could possibly use if it is ok with the Admins.

https://github.com/mozilla/TTS https://github.com/capacitor-community/text-to-speech

I guess more of what I am asking is it ok with the Admins?

pierotofy commented 3 years ago

Hey @canderson113 :hand: I think it would be a cool addition! So perfectly OK with me :+1:

canderson113 commented 3 years ago

Hey @canderson113 ✋ I think it would be a cool addition! So perfectly OK with me 👍

I am editing my copy of the html file for the website to try to add it and this pops up.

image

pierotofy commented 3 years ago

Are you getting any errors from the web developers toolbar console?

tderflinger commented 2 weeks ago

Just as an update to this issue, there is now a great open source TTS library called Piper (https://github.com/rhasspy/piper). How about integrating Piper? It is also written in Python and uses PyTorch.